Profile Settings

Loading preview

Starting the Flutter app

User profile settings with photo, personal info, and preferences

Get the source

Add it to your project

Copies the Dart source into your app, so you own it. Flutter SDK only, no extra packages.

First time? Run dart pub global activate fluttertemplates_dev, or read the CLI guide.

How it works

A stateful page holding _pushNotifications, _language, _darkMode and _connected. Dark Mode follows the app until switched, then _pageTheme restyles this page only. Language opens a SimpleDialog picker and shows the choice as its subtitle, though nothing gets translated. Tapping a connected account row toggles it in _connected, which drives _accountBadge. _buildSettingTile falls back to a chevron when no trailing is given. Edit Profile, Email and Phone show a demo SnackBar.

Adapting it

  • Feed _language into MaterialApp.locale, and persist it.
  • Connect Dark Mode to your app-level theme state, removing _pageTheme.
  • Start your OAuth flow from _toggleAccount, and route Edit Profile from its onTap.