copyWith abstract method

PinDecoration copyWith({
  1. TextStyle? textStyle,
  2. ObscureStyle? obscureStyle,
  3. String? errorText,
  4. TextStyle? errorTextStyle,
  5. String? hintText,
  6. TextStyle? hintTextStyle,
  7. ColorBuilder? bgColorBuilder,
})

Creates a copy of this pin decoration with the given fields replaced by the new values.

Implementation

PinDecoration copyWith({
  TextStyle? textStyle,
  ObscureStyle? obscureStyle,
  String? errorText,
  TextStyle? errorTextStyle,
  String? hintText,
  TextStyle? hintTextStyle,
  ColorBuilder? bgColorBuilder,
});