copyWith method

AdeptTextAutoCompleteTheme copyWith({
  1. InputDecoration? inputDecoration,
  2. double? height,
  3. TextStyle? labelTextStyle,
  4. TextStyle? hintTextStyle,
  5. TextStyle? valueTextStyle,
  6. EdgeInsets? labelPadding,
  7. EdgeInsets? fieldPadding,
  8. 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);
}