SBBPickerThemeData class
The theme data for SBBPicker, SBBDatePicker, SBBTimePicker, SBBDateTimePicker, SBBDateInput, SBBTimeInput and SBBDateTimeInput.
Use this to configure the default styles for all picker widgets within the current SBBTheme.
To access this in your application, use Theme.of(context).sbbPickerTheme.
- Inheritance
-
- Object
- ThemeExtension<
SBBPickerThemeData> - SBBPickerThemeData
- Mixed-in types
- Available extensions
- Annotations
Constructors
- SBBPickerThemeData({SBBPickerStyle? pickerStyle, SBBInputDecorationThemeData? triggerDecorationTheme, SBBDecoratedTextStyle? triggerStyle, SBBBottomSheetStyle? sheetStyle})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- pickerStyle → SBBPickerStyle?
-
Overrides for the picker's default visual style.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sheetStyle → SBBBottomSheetStyle?
-
Overrides for the bottom sheet's default style.
final
- triggerDecorationTheme → SBBInputDecorationThemeData?
-
Overrides for the trigger's decoration default theme.
final
- triggerStyle → SBBDecoratedTextStyle?
-
Overrides for the trigger's decorated text default style.
final
- type → Object
-
The extension's type.
no setterinherited
Methods
-
copyWith(
{SBBPickerStyle? pickerStyle, SBBInputDecorationThemeData? triggerDecorationTheme, SBBDecoratedTextStyle? triggerStyle, SBBBottomSheetStyle? sheetStyle}) → SBBPickerThemeData -
Creates a copy of this theme extension with the given fields
replaced by the non-null parameter values.
override
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
lerp(
covariant SBBPickerThemeData? other, double t) → SBBPickerThemeData -
Linearly interpolate with another ThemeExtension object.
override
-
merge(
SBBPickerThemeData? other) → SBBPickerThemeData -
Available on SBBPickerThemeData, provided by the SBBPickerThemeDataX extension
-
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