FastButtonMixin2 mixin
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildButton(BuildContext context, Widget child, {FastButtonEmphasis emphasis = FastButtonEmphasis.low, ValueChanged<bool>? onHover, BoxConstraints? constraints, EdgeInsetsGeometry? padding, BoxDecoration? decoration, bool flexible = false, bool isEnabled = true, String? semanticLabel, Color? highlightColor, Alignment? alignment, FastButtonSize? size, VoidCallback? onTap, Color? focusColor, Color? hoverColor, String? tooltip, Color? color, Widget? icon})
→ Widget
-
-
buildLabelText(BuildContext context, {FastButtonEmphasis emphasis = FastButtonEmphasis.low, bool upperCase = true, bool isEnabled = true, TextStyle? textStyle, Color? disabledColor, FastButtonSize? size, String? labelText, Color? color, Widget? icon})
→ Widget
-
-
getBorderColor(BuildContext context, {FastButtonEmphasis? emphasis, bool isEnabled = true, TextStyle? textStyle, Color? disabledColor, Color? borderColor})
→ Color?
-
-
getButtonConstraints(BuildContext context, {FastButtonSize? size, Widget? icon})
→ BoxConstraints?
-
-
getColor(BuildContext context, {FastButtonEmphasis? emphasis, bool isEnabled = true, Color? disabledColor, Color? color, Widget? icon})
→ Color?
-
-
getDisabledColor(BuildContext context, {FastButtonEmphasis? emphasis, bool isEnabled = true, Color? disabledColor, Color? color, Widget? icon})
→ Color?
-
-
getEmphasisedColor(BuildContext context, {FastButtonEmphasis? emphasis})
→ Color?
-
-
getFontSize(BuildContext context, {FastButtonSize? size, TextStyle? textStyle})
→ double
-
-
getHighlightColor(BuildContext context, {FastButtonEmphasis? emphasis, Color? highlightColor, Color? color, Widget? icon})
→ Color?
-
-
getHoverColor(BuildContext context, {FastButtonEmphasis? emphasis, Color? hoverColor, Color? color, Widget? icon})
→ Color?
-
-
getIconSize(BuildContext context, {FastButtonSize? size, double? iconSize, Widget? icon})
→ double
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited