maybeWhen<TResult extends Object?> method
TResult
maybeWhen<TResult extends Object?>({
- TResult normal(
- bool isSelected,
- ChipUiProperties chipUiProperties
- TResult custom()?,
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<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,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;