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