FButtonCustomStyle class

A custom FButton style.

Inheritance
Mixed-in types

Constructors

FButtonCustomStyle({required BoxDecoration enabledBoxDecoration, required BoxDecoration disabledBoxDecoration, required FButtonContentStyle content, required FButtonIconStyle icon, FButtonIconContentStyle iconContent = const FButtonIconContentStyle()})
Creates a FButtonCustomStyle.

Properties

content 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
hashCode int
The hash code for this object.
no setteroverride
icon FButtonIconStyle
The icon's style.
final
iconContent 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? disabledBoxDecoration, FButtonContentStyle? content, FButtonIconStyle? icon, FButtonIconContentStyle? iconContent}) 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