copyWith method
ModernFormBottomSheetModeStyle
copyWith({
- String? text,
- Color? textColor,
- FontWeight? fontWeight,
Implementation
ModernFormBottomSheetModeStyle copyWith({
String? text,
Color? textColor,
FontWeight? fontWeight,
}) {
return ModernFormBottomSheetModeStyle(
text: text ?? this.text,
textColor: textColor ?? this.textColor,
fontWeight: fontWeight ?? this.fontWeight,
);
}