whenOrNull<TResult extends Object?> method
TResult?
whenOrNull<TResult extends Object?>({
- TResult? normal(
- bool isSelected,
- ChipUiProperties chipUiProperties
- TResult? custom()?,
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(bool isSelected, ChipUiProperties chipUiProperties)?
normal,
TResult? Function(
bool isSelected,
String iconAsset,
Color borderColor,
Color backgroundColor,
Color textColor,
ChipUiProperties chipUiProperties,
Color? selectedTextColor,
Color? selectedBorderColor,
Color? selectedBackgroundColor)?
custom,
}) =>
throw _privateConstructorUsedError;