MenuPopupTheme class
A theme for MenuPopup.
Constructors
- MenuPopupTheme.new({double? surfaceOpacity, double? surfaceBlur, EdgeInsetsGeometry? padding, Color? fillColor, Color? borderColor, BorderRadiusGeometry? borderRadius})
-
Creates a MenuPopupTheme.
const
Properties
- borderColor → Color?
-
The border color of the popup.
final
- borderRadius → BorderRadiusGeometry?
-
The border radius of the popup.
final
- fillColor → Color?
-
The background color of the popup.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- padding → EdgeInsetsGeometry?
-
The padding inside the popup.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- surfaceBlur → double?
-
The blur applied to the surface.
final
- surfaceOpacity → double?
-
The opacity of the surface.
final
Methods
-
copyWith(
{ValueGetter< double?> ? surfaceOpacity, ValueGetter<double?> ? surfaceBlur, ValueGetter<EdgeInsetsGeometry?> ? padding, ValueGetter<Color?> ? fillColor, ValueGetter<Color?> ? borderColor, ValueGetter<BorderRadiusGeometry?> ? borderRadius}) → MenuPopupTheme - Returns a copy of this theme with the given fields replaced.
-
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.
override