FButtonContentStyle class final
FButton content's style.
- Mixed-in types
Constructors
- FButtonContentStyle({required TextStyle enabledTextStyle, required TextStyle disabledTextStyle, required Color enabledIconColor, required Color disabledIconColor, EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 16, vertical: 12.5), double iconSize = 20})
- Creates a FButtonContentStyle.
- FButtonContentStyle.inherit({required FTypography typography, required Color enabled, required Color disabled})
-
Creates a FButtonContentStyle that inherits its properties from the given
enabled
anddisabled
.
Properties
- disabledIconColor → Color
-
The icon's color when this button is disabled.
final
- disabledTextStyle → TextStyle
-
The TextStyle when this button is disabled.
final
- enabledIconColor → Color
-
The icon's color when this button is enabled.
final
- enabledTextStyle → TextStyle
-
The TextStyle when this button is enabled.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- iconSize → double
-
The icon's size. Defaults to 20.
final
- padding → EdgeInsets
-
The padding. Defaults to
EdgeInsets.symmetric(horizontal: 16, vertical: 12.5)
.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{TextStyle? enabledTextStyle, TextStyle? disabledTextStyle, EdgeInsets? padding, Color? enabledIconColor, Color? disabledIconColor, double? iconSize}) → FButtonContentStyle - Returns a copy of this FButtonContentStyle with the given properties replaced.
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
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
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override