copyWith method
AdeptTextAutoCompleteTheme
copyWith({
- InputDecoration? inputDecoration,
- double? height,
- TextStyle? labelTextStyle,
- TextStyle? hintTextStyle,
- TextStyle? valueTextStyle,
- EdgeInsets? labelPadding,
- EdgeInsets? fieldPadding,
- TextAlign? textAlign,
override
Copy constructor with new instance
Implementation
AdeptTextAutoCompleteTheme copyWith({
/// You can provide inputDecoration to appear inside the text field.
InputDecoration? inputDecoration,
////
double? height,
// From base class: TextThemeMdl
TextStyle? labelTextStyle,
TextStyle? hintTextStyle,
TextStyle? valueTextStyle,
EdgeInsets? labelPadding,
EdgeInsets? fieldPadding,
TextAlign? textAlign,
}) {
return AdeptTextAutoCompleteTheme(
labelTextStyle: labelTextStyle ?? this.labelTextStyle,
hintTextStyle: hintTextStyle ?? this.hintTextStyle,
valueTextStyle: valueTextStyle ?? this.valueTextStyle,
labelPadding: labelPadding ?? this.labelPadding,
fieldPadding: fieldPadding ?? this.fieldPadding,
height: height ?? this.height,
inputDecoration: inputDecoration ?? this.inputDecoration,
textAlign: textAlign ?? this.textAlign);
}