UIDropdownMenuThemeData class
- Inheritance
-
- Object
- ThemeExtension<
UIDropdownMenuThemeData> - UIDropdownMenuThemeData
- Implemented types
Constructors
- UIDropdownMenuThemeData({Color? backgroundColor, BorderRadius? borderRadius, BoxShadow? boxShadow, EdgeInsets? actionPadding, double? actionSpacing, double? iconSize, TextStyle? textStyle})
-
const
- UIDropdownMenuThemeData.config({Color? backgroundColor = Colors.white, BorderRadius? borderRadius = const BorderRadius.all(Radius.circular(8)), BoxShadow? boxShadow = const BoxShadow(color: Colors.black12, blurRadius: 15), EdgeInsets? actionPadding = const EdgeInsets.only(left: 12, right: 24, top: 12, bottom: 12), double? actionSpacing = 8, double? iconSize = 20, TextStyle? textStyle = const TextStyle(fontSize: 12)})
-
const
Properties
- actionPadding → EdgeInsets?
-
final
- actionSpacing → double?
-
final
- backgroundColor → Color?
-
final
- borderRadius → BorderRadius?
-
final
- boxShadow → BoxShadow?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconSize → double?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textStyle → TextStyle?
-
final
- type → Object
-
The extension's type.
no setterinherited
Methods
-
copyWith(
) → ThemeExtension< UIDropdownMenuThemeData> -
Creates a copy of this theme extension with the given fields
replaced by the non-null parameter values.
override
-
lerp(
covariant ThemeExtension< UIDropdownMenuThemeData> ? other, double t) → ThemeExtension<UIDropdownMenuThemeData> -
Linearly interpolate with another ThemeExtension object.
override
-
merge(
covariant UIDropdownMenuThemeData? other) → UIDropdownMenuThemeData -
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