SpinBoxThemeData class

Defines default property values for descendant SpinBox widgets.

Descendant widgets obtain the current SpinBoxThemeData object using SpinBoxTheme.of(context). Instances of SpinBoxThemeData can be customized with SpinBoxThemeData.copyWith.

All SpinBoxThemeData properties are null by default. When null, the SpinBox will provide its own defaults based on the overall Theme's colorScheme. See the individual SpinBox properties for details.

Mixed in types
Annotations

Constructors

SpinBoxThemeData({double? iconSize, MaterialStateProperty<Color?>? iconColor, InputDecoration? decoration})
Creates a theme that can be used for SpinBoxTheme.data.
const

Properties

decoration InputDecoration?
See TextField.decoration.
final
hashCode int
The hash code for this object.
no setteroverride
iconColor MaterialStateProperty<Color?>?
The color to use for SpinBox.incrementIcon and SpinBox.decrementIcon.
final
iconSize double?
The size to use for SpinBox.incrementIcon and SpinBox.decrementIcon.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({double? iconSize, MaterialStateProperty<Color?>? iconColor, InputDecoration? decoration}) SpinBoxThemeData
Creates a copy of this object but with the given fields replaced with the new values.
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