DropDownButtonStyle class
Drop-down menu button style in the multi-select state
Constructors
- DropDownButtonStyle.new({String resetText = "Reset", String confirmText = "Confirm", TextStyle resetTextStyle = const TextStyle(fontSize: 14, color: Colors.black), TextStyle confirmTextStyle = const TextStyle(fontSize: 14, color: Colors.white), FontWeight? resetTextWeight, FontWeight? confirmTextWeight, TextAlign? resetTextAlign, TextAlign? confirmTextAlign, Color resetBackgroundColor = const Color(0xFFEEEEEE), Color confirmBackgroundColor = Colors.blue, double resetElevation = 0, double confirmElevation = 0, BorderRadius? resetBorderRadius, BorderRadius? confirmBorderRadius, BorderSide? resetBorderSide, BorderSide? confirmBorderSide, double resetHeight = 50, double confirmHeight = 50})
-
const
Properties
- confirmBackgroundColor → Color
-
The background color of the confirmation button
final
- confirmBorderRadius → BorderRadius?
-
The border radius of the confirmation button
final
- confirmBorderSide → BorderSide?
-
The border side of the confirmation button
final
- confirmElevation → double
-
The elevation of the confirmation button
final
- confirmHeight → double
-
The height of the confirmation button
final
- confirmText → String
-
The text of the confirmation button
final
- confirmTextAlign → TextAlign?
-
The text alignment of the confirmation button
final
- confirmTextStyle → TextStyle
-
The text style of the confirmation button
final
- confirmTextWeight → FontWeight?
-
The font weight of the confirmation button
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- resetBackgroundColor → Color
-
The background color of the reset button
final
- resetBorderRadius → BorderRadius?
-
The border radius of the reset button
final
- resetBorderSide → BorderSide?
-
The border side of the reset button
final
- resetElevation → double
-
The elevation of the reset button
final
- resetHeight → double
-
The height of the reset button
final
- resetText → String
-
The text of the reset button
final
- resetTextAlign → TextAlign?
-
The text alignment of the reset button
final
- resetTextStyle → TextStyle
-
The text style of the reset button
final
- resetTextWeight → FontWeight?
-
The font weight of the reset button
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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