CheckedPopupMenuItem class Null safety
- Implemented types
Constructors
- CheckedPopupMenuItem({Key? key, String? value, bool checked, bool enabled, EdgeInsets? padding, double height, MouseCursor? mouseCursor, Widget? child})
-
constfactory
-
CheckedPopupMenuItem.fromJson(Map<
String, dynamic> json) -
factory
Properties
- checked → bool
-
read-only
- child → Widget?
-
read-only
-
copyWith
→ _$$CheckedPopupMenuItemCopyWith<
_$CheckedPopupMenuItem> -
@JsonKey(ignore: true), read-only, override
- enabled → bool
-
read-only
- hashCode → int
-
The hash code for this object.
read-only, inherited
- height → double
-
read-only, override
- key → Key?
-
read-only, override
- mouseCursor → MouseCursor?
-
read-only
- padding → EdgeInsets?
-
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- value → String?
-
read-only
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