SignInButton class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- SignInButton
Constructors
- SignInButton(Buttons button, {required VoidCallback onPressed, bool mini = false, EdgeInsets? padding, ShapeBorder? shape, String? text, double? elevation, double? iconSize, double? fontSize, Color? backgroundColor, Color? textColor, Color? iconColor, Color? splashColor, Color? highlightColor, double? height, double? width})
- The constructor is fairly self-explanatory.
- SignInButton.mini(Buttons button, {required VoidCallback onPressed, EdgeInsets? padding, ShapeBorder? shape, String? text, double? elevation, double? iconSize, double? fontSize, Color? backgroundColor, Color? textColor, Color? iconColor, Color? splashColor, Color? highlightColor, double? height, double? width})
-
factory
Properties
- backgroundColor ↔ Color?
-
latefinal
-
button should be used from the enum class
Buttons
final -
latefinal
- elevation ↔ double
-
latefinal
- fontSize ↔ double
-
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
the height of the button
final
- highlightColor ↔ Color?
-
latefinal
- iconColor ↔ Color?
-
latefinal
- iconSize ↔ double
-
latefinal
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- mini → bool
-
mini is a boolean field which specify whether to use a square mini button.
final
- onPressed → VoidCallback
-
onPressed function should be passed in as a required field.
final
- padding ↔ EdgeInsets
-
overrides the default button padding
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shape → ShapeBorder?
-
shape is to specify the custom shape of the widget.
final
- splashColor ↔ Color?
-
latefinal
- text ↔ String?
-
overrides the default button text
latefinal
- textColor ↔ Color?
-
latefinal
- width → double?
-
width is default to be 1/1.5 of the screen
final
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
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
-
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 Properties
- defaultBackgroundColor ↔ Color
-
getter/setter pair
- defaultColor ↔ Color
-
getter/setter pair
- useProviderColors ↔ bool
-
Here are the buttons builder which integrate with button builder
and the buttons list.
getter/setter pair