copyWith method
ModernFormBottomSheetModel<T>
copyWith({
- String? text,
- T? value,
- Color? textColor,
- FontWeight? fontWeight,
- List<
ModernFormBottomSheetModeStyle> ? multStyles,
override
Implementation
ModernFormBottomSheetModel<T> copyWith({
String? text,
T? value,
Color? textColor,
FontWeight? fontWeight,
List<ModernFormBottomSheetModeStyle>? multStyles,
}) {
return ModernFormBottomSheetModel<T>(
text: text ?? this.text,
value: value ?? this.value,
textColor: textColor ?? this.textColor,
fontWeight: fontWeight ?? this.fontWeight,
multStyles: multStyles ?? this.multStyles,
);
}