PopupMenuDivider class Null safety
- Implemented types
Constructors
- PopupMenuDivider({Key? key, double height})
-
constfactory
-
PopupMenuDivider.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
copyWith
→ _$$PopupMenuDividerCopyWith<
_$PopupMenuDivider> -
@JsonKey(ignore: true), read-only, override
- hashCode → int
-
The hash code for this object.
read-only, inherited
- height → double
-
read-only, override
- key → Key?
-
read-only, override
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
map<
TResult extends Object?> ({required TResult item(PopupMenuItem value), required TResult divider(PopupMenuDivider value), required TResult checked(CheckedPopupMenuItem value)}) → TResult -
@optionalTypeArgs, inherited
-
mapOrNull<
TResult extends Object?> ({TResult? item(PopupMenuItem value)?, TResult? divider(PopupMenuDivider value)?, TResult? checked(CheckedPopupMenuItem value)?}) → TResult? -
@optionalTypeArgs, inherited
-
maybeMap<
TResult extends Object?> ({TResult item(PopupMenuItem value)?, TResult divider(PopupMenuDivider value)?, TResult checked(CheckedPopupMenuItem value)?, required TResult orElse()}) → TResult -
@optionalTypeArgs, inherited
-
maybeWhen<
TResult extends Object?> ({TResult item(Key? key, String? value, Callback? onTap, bool enabled, double height, EdgeInsets? padding, TextStyle? textStyle, MouseCursor? mouseCursor, Widget? child)?, TResult divider(Key? key, double height)?, TResult checked(Key? key, String? value, bool checked, bool enabled, EdgeInsets? padding, double height, MouseCursor? mouseCursor, Widget? child)?, required TResult orElse()}) → TResult -
@optionalTypeArgs, inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> ({required TResult item(Key? key, String? value, Callback? onTap, bool enabled, double height, EdgeInsets? padding, TextStyle? textStyle, MouseCursor? mouseCursor, Widget? child), required TResult divider(Key? key, double height), required TResult checked(Key? key, String? value, bool checked, bool enabled, EdgeInsets? padding, double height, MouseCursor? mouseCursor, Widget? child)}) → TResult -
@optionalTypeArgs, inherited
-
whenOrNull<
TResult extends Object?> ({TResult? item(Key? key, String? value, Callback? onTap, bool enabled, double height, EdgeInsets? padding, TextStyle? textStyle, MouseCursor? mouseCursor, Widget? child)?, TResult? divider(Key? key, double height)?, TResult? checked(Key? key, String? value, bool checked, bool enabled, EdgeInsets? padding, double height, MouseCursor? mouseCursor, Widget? child)?}) → TResult? -
@optionalTypeArgs, inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited