TolyPopPickerTheme class

Inheritance

Constructors

TolyPopPickerTheme({double borderRadius = 12.0, Color backgroundColor = Colors.white, Color separatorColor = const Color(0xffE5E3E4), double separatorHeight = 10.0, double itemHeight = 52.0, TextStyle? itemTextStyle = const TextStyle(fontSize: 16, color: Colors.black), TextStyle? disabledItemTextStyle = const TextStyle(fontSize: 16, color: Colors.grey), TextStyle? cancelTextStyle = const TextStyle(fontSize: 17, color: Colors.black, fontWeight: FontWeight.bold), TextStyle? titleTextStyle = const TextStyle(fontSize: 16, color: Colors.black, fontWeight: FontWeight.bold), double cancelHeight = 50.0, EdgeInsets? itemPadding, EdgeInsets? titlePadding})
const

Properties

backgroundColor Color
final
borderRadius double
final
cancelHeight double
final
cancelTextStyle TextStyle?
final
disabledItemTextStyle TextStyle?
final
hashCode int
The hash code for this object.
no setterinherited
itemHeight double
final
itemPadding EdgeInsets?
final
itemTextStyle TextStyle?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
separatorColor Color
final
separatorHeight double
final
titlePadding EdgeInsets?
final
titleTextStyle TextStyle?
final
type Object
The extension's type.
no setterinherited

Methods

copyWith({double? borderRadius, Color? backgroundColor, Color? separatorColor, double? separatorHeight, double? itemHeight, TextStyle? itemTextStyle, TextStyle? disabledItemTextStyle, TextStyle? cancelTextStyle, TextStyle? titleTextStyle, double? cancelHeight, EdgeInsets? itemPadding, EdgeInsets? titlePadding}) TolyPopPickerTheme
Creates a copy of this theme extension with the given fields replaced by the non-null parameter values.
override
lerp(covariant ThemeExtension<TolyPopPickerTheme>? other, double t) TolyPopPickerTheme
Linearly interpolate with another ThemeExtension object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

of(BuildContext context) TolyPopPickerTheme