whenOrNull<TResult extends Object?> method
Null safety
- {TResult? item(
- Key? key,
- String? value,
- Callback? onTap,
- bool enabled,
- double height,
- EdgeInsets? padding,
- TextStyle? textStyle,
- MouseCursor? mouseCursor,
- Widget? child
- TResult? divider( )?,
- TResult? checked(
- Key? key,
- String? value,
- bool checked,
- bool enabled,
- EdgeInsets? padding,
- double height,
- MouseCursor? mouseCursor,
- Widget? child
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(
Key? key,
String? value,
Callback? onTap,
bool enabled,
double height,
EdgeInsets? padding,
TextStyle? textStyle,
MouseCursor? mouseCursor,
Widget? child)?
item,
TResult? Function(Key? key, double height)? divider,
TResult? Function(
Key? key,
String? value,
bool checked,
bool enabled,
EdgeInsets? padding,
double height,
MouseCursor? mouseCursor,
Widget? child)?
checked,
}) =>
throw _privateConstructorUsedError;