FButtonCustomStyle class
A custom FButton style.
- Inheritance
-
- Object
- FButtonStyle
- FButtonCustomStyle
- Mixed-in types
Constructors
- FButtonCustomStyle({required BoxDecoration enabledBoxDecoration, required BoxDecoration enabledHoverBoxDecoration, required BoxDecoration disabledBoxDecoration, required FButtonContentStyle contentStyle, required FButtonIconContentStyle iconContentStyle})
- Creates a FButtonCustomStyle.
- FButtonCustomStyle.inherit({required FTypography typography, required FStyle style, required Color enabledBoxColor, required Color enabledHoveredBoxColor, required Color disabledBoxColor, required Color enabledContentColor, required Color disabledContentColor})
- Creates a FButtonCustomStyle that inherits its properties from the given arguments.
Properties
- contentStyle → FButtonContentStyle
-
The content's style.
final
- disabledBoxDecoration → BoxDecoration
-
The box decoration for a disabled button.
final
- enabledBoxDecoration → BoxDecoration
-
The box decoration for an enabled button.
final
- enabledHoverBoxDecoration → BoxDecoration
-
The box decoration for an enabled button when it is hovered over.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- iconContentStyle → FButtonIconContentStyle
-
The icon content's style.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{BoxDecoration? enabledBoxDecoration, BoxDecoration? enabledHoverBoxDecoration, BoxDecoration? disabledBoxDecoration, FButtonContentStyle? contentStyle, FButtonIconContentStyle? iconContentStyle}) → FButtonCustomStyle - Returns a copy of this FButtonCustomStyle 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