FButtonIconContentStyle class final
FButton icon content's style.
- Mixed-in types
Constructors
- FButtonIconContentStyle({required Color enabledColor, required Color disabledColor, EdgeInsets padding = const EdgeInsets.all(7.5), double size = 20})
-
Creates a FButtonIconContentStyle.
const
Properties
- disabledColor → Color
-
The icon's color when this button is disabled.
final
- enabledColor → Color
-
The icon's color when this button is enabled.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- padding → EdgeInsets
-
The padding. Defaults to
EdgeInsets.all(7.5)
.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → double
-
The icon's size. Defaults to 20.
final
Methods
-
copyWith(
{EdgeInsets? padding, Color? enabledColor, Color? disabledColor, double? size}) → FButtonIconContentStyle - Returns a copy of this FButtonIconContentStyle 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