ButtonSpec class
- Mixed-in types
-
- Annotations
-
Constructors
-
ButtonSpec({FlexBoxSpec? container, IconSpec? icon, TextSpec? label, WidgetModifiersData? modifiers, SpinnerSpec? spinner, AnimatedData? animated})
-
const
Methods
-
call({Key? key, required String label, bool disabled = false, bool loading = false, IconData? iconLeft, IconData? iconRight, WidgetSpecBuilder<SpinnerSpec>? spinnerBuilder, required void onPressed()})
→ Widget
-
-
copyWith({FlexBoxSpec? container, IconSpec? icon, TextSpec? label, WidgetModifiersData? modifiers, SpinnerSpec? spinner, AnimatedData? animated})
→ ButtonSpec
-
Creates a copy of this ButtonSpec but with the given fields
replaced with the new values.
inherited
-
debugFillProperties(DiagnosticPropertiesBuilder properties)
→ void
-
Add additional properties associated with the node.
override
-
getDiff(EqualityMixin other)
→ Map<String, String>
-
inherited
-
lerp(covariant ButtonSpec? other, double t)
→ ButtonSpec
-
Linearly interpolates between this ButtonSpec and another ButtonSpec based on the given parameter
t.
inherited
-
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