ApptiveGridUserManagement class
Adds the ability to add ApptiveGridUserManagement to an App This should live near an ApptiveGrid Widget
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- ApptiveGridUserManagement
Constructors
-
ApptiveGridUserManagement({Key? key, required String group, required String clientId, String? redirectScheme, Widget? child, PasswordRequirement passwordRequirement = PasswordRequirement.enforced, required void confirmAccountPrompt(Widget confirmationWidget), required void onAccountConfirmed(bool loggedIn), Future<
void> onChangeEnvironment(ApptiveGridEnvironment environment)?, required void resetPasswordPrompt(Widget resetPasswordWidget), required void onPasswordReset(bool loggedIn), ApptiveGridUserManagementClient? client, Map<Locale, ApptiveGridUserManagementTranslation> customTranslations = const {}}) -
Creates a new ApptiveGridUserManagement Widget
const
Properties
- child → Widget?
-
The Widget that should be shown beneath
final
- client → ApptiveGridUserManagementClient?
-
ApptiveGridUserManagementClient that should be used
final
- clientId → String
-
The Client Id
final
- confirmAccountPrompt → void Function(Widget confirmationWidget)
-
Notifies that the app has been opened to confirm a user Account
The user should be redirected to a Widget/Page containing the
confirmationWidget
final -
customTranslations
→ Map<
Locale, ApptiveGridUserManagementTranslation> -
Provide custom Translations. This can be used to either add additional Translations or override existing translations
final
- group → String
-
User Group the users should be added to
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- onAccountConfirmed → void Function(bool loggedIn)
-
Callback when the User successfully confirmed their account
final
-
onChangeEnvironment
→ (Future<
void> Function(ApptiveGridEnvironment environment)?) -
Callback to change the
environment
of ApptiveGrid This is called when opening the App with a Confirmation Link which might have a different environment than the rest of the appfinal - onPasswordReset → void Function(bool loggedIn)
-
Callback when the User successfully reset their password
After this the User should be redirected to the login page
final
- passwordRequirement → PasswordRequirement
-
Sets the enforcement of the Password Requirement
final
- redirectScheme → String?
-
The redirect Scheme that should be used in the Confirmation Link in the email
if this is not provided the email will contain a https://app.apptivegrid.de/ link
If you want to use the https Links (support for iOS Universal Linking) contact ApptiveGrid to get your App added
info@apptivegrid.de
final
- resetPasswordPrompt → void Function(Widget resetPasswordWidget)
-
Notifies that the app has been opened to reset a user Password
The user should be redirected to a Widget/Page containing the
resetPasswordWidget
final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< ApptiveGridUserManagement> -
Creates the mutable state for this widget at a given location in the tree.
override
-
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
-
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
Static Methods
-
maybeOf(
BuildContext context) → ApptiveGridUserManagementState? - Returns the closest nullable ApptiveGridUserManagementState