SignUpTemplate class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- SignUpTemplate
Constructors
-
SignUpTemplate.new({Key? key, EdgeInsets padding = const EdgeInsets.only(top: 24, bottom: 16, left: 16, right: 16), Widget? icon, Widget? additionalRequirement, bool centerIcon = false, bool centerHead = false, bool centerFields = false, double iconBottomSpace = 25, double headTextsSpace = 0, double headBottomSpace = 40, double buttonTopSpace = 34, String? titleText, @Deprecated("Please use instead: titleText") String? welcomeText, @Deprecated("Please use instead: subtitleText") String? descriptionText, String? subtitleText, Widget titleBuilder(GBUiKitLocalizations localizations)?, Widget subtitleBuilder(GBUiKitLocalizations localizations)?, String? buttonText, String? signInLegendText, Color? titleTextColor, bool hideTitleAndSubtitleSection = false, Color? subtitleTextColor, TextStyle? legendActionTextStyle, TextStyle? legendNormalTextStyle, required bool canSubmit, required bool submitting, required List<
Widget> fields, required void onSubmit(), void onHaveAccountLegendTap()?, ButtonSize buttonSize = ButtonSize.large, double spaceBetweenFields = 24, }) -
const
Properties
- additionalRequirement → Widget?
-
Content placed between the button and
fields
final -
Specify type of main CTA button size
default ButtonSize.large
final
-
The text shown in the button
final
-
Empty space between
fields
and sign up buttonfinal - canSubmit → bool
-
final
- centerFields → bool
-
Center sign up fields
final
- centerHead → bool
-
Center
H1
andH3
widgetsfinal - centerIcon → bool
-
Center
icon
final -
fields
→ List<
Widget> -
final
-
If Provided, this function will be used to inject a widget at the end of the screen
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headBottomSpace → double
-
Empty space between title/subtitle and
fields
final - headTextsSpace → double
-
Empty space between
H1
andH3
final - hideTitleAndSubtitleSection → bool
-
Hide the texts sections
final
- icon → Widget?
-
final
- iconBottomSpace → double
-
Empty space between
icon
and title/subtitle textsfinal - key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- legendActionTextStyle → TextStyle?
-
The color applied to the haveAccount legend action color
final
- legendNormalTextStyle → TextStyle?
-
The Style to apply to the haveAccount legend normal text
final
- onHaveAccountLegendTap → void Function()?
-
final
- onSubmit → void Function()
-
final
- padding → EdgeInsets
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signInLegendText → String?
-
Custom text to show in sign in legend
final
- spaceBetweenFields → double
-
final
- submitting → bool
-
final
- subtitleBuilder → Widget Function(GBUiKitLocalizations localizations)?
-
Provides a way to customize the way the subtitle
localizations
provides you access to default localizationsfinal - subtitleText → String?
-
Custom text for
H3
final - subtitleTextColor → Color?
-
The
H3
text colorfinal - titleBuilder → Widget Function(GBUiKitLocalizations localizations)?
-
Provides a way to customize the way the title
localizations
provides you access to default localizationsfinal - titleText → String?
-
Custom text for
H1
final - titleTextColor → Color?
-
The
H1
text colorfinal
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< SignUpTemplate> -
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, int wrapWidth = 65}) → 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
-
defaultFields(
BuildContext context, {dynamic onFirstNameChange(String value)?, dynamic onLastNameChange(String value)?, dynamic onUsernameChange(String value)?, dynamic onEmailChange(String value)?, dynamic onPasswordChange(String value)?, dynamic onConfirmPasswordChange(String value)?, List< InputFeedbackText> ? passwordFeedback, List<InputFeedbackText> ? confirmPasswordFeedback, List<TextInputFormatter> ? firstNameInputFormatters, List<TextInputFormatter> ? lastNameInputFormatters, List<TextInputFormatter> ? usernameInputFormatters, List<TextInputFormatter> ? emailInputFormatters, List<TextInputFormatter> ? passwordInputFormatters, String? emailLabel, String? passwordLabel, String? confirmPasswordLabel}) → List<Widget>