ProfileScreen class
A pre-built profile screen that allows to link more auth providers, unlink auth providers, edit user name and delete the account. Could also contain a user-defined content.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- ProfileScreen
Constructors
-
ProfileScreen({Key? key, FirebaseAuth? auth, List<
AuthProvider< ? providers, Widget? avatar, Color? avatarPlaceholderColor, ShapeBorder? avatarShape, double? avatarSize, List<AuthListener, AuthCredential> >Widget> children = const [], List<FirebaseUIAction> ? actions, AppBar? appBar, ActionCodeSettings? actionCodeSettings, bool showMFATile = false, bool showUnlinkConfirmationDialog = false, bool showDeleteConfirmationDialog = false}) -
const
Properties
- actionCodeSettings → ActionCodeSettings?
-
A configuration object used to construct a dynamic link for email
verification.
final
-
actions
→ List<
FirebaseUIAction> ? -
Possible actions that could be triggered:
final
- appBar → AppBar?
-
See Scaffold.appBar.
final
- auth → FirebaseAuth
-
no setterinherited
- avatar → Widget?
-
A custom avatar widget that is used instead of the default one.
If provided, avatarPlaceholderColor, avatarShape and avatarSize
are ignored.
final
- avatarPlaceholderColor → Color?
-
A color of the avatar placeholder.
final
- avatarShape → ShapeBorder?
-
A shape of the avatar.
A CircleBorder is used by default.
final
- avatarSize → double?
-
A size of the avatar.
final
-
children
→ List<
Widget> -
A user-defined content of the screen.
final
-
See CupertinoPageScaffold.navigationBar.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
providers
→ List<
AuthProvider< AuthListener, AuthCredential> > -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showDeleteConfirmationDialog → bool
-
If
true
, the user will be asked to confirm the account deletion.final - showMFATile → bool
-
Indicates whether MFA tile should be shown.
final
- showUnlinkConfirmationDialog → bool
-
Indicates wether a confirmation dialog should be shown when the user
tries to unlink a provider.
final
Methods
-
build(
BuildContext context) → Widget -
buildPage(
BuildContext context) → Widget -
createElement(
) → ScreenElement -
Inflates this configuration to a concrete instance.
inherited
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of
DiagnosticsNode
objects describing this node's children.inherited -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
getAvailableProviders(
BuildContext context, User user) → List< AuthProvider< AuthListener, AuthCredential> > -
getLinkedProviders(
User user) → List< AuthProvider< AuthListener, AuthCredential> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited