updateDecoration method

void updateDecoration({
  1. InputDecoration? decoration,
  2. List<TextInputFormatter>? inputFormatters,
  3. TextCapitalization? textCapitalization,
  4. TextStyle? style,
  5. TextInputType? keyboardType,
  6. TextInputAction? textInputAction,
})

Implementation

void updateDecoration(
        {InputDecoration? decoration,
        List<TextInputFormatter>? inputFormatters,
        TextCapitalization? textCapitalization,
        TextStyle? style,
        TextInputType? keyboardType,
        TextInputAction? textInputAction}) =>
    key.currentState!.updateDecoration(decoration, inputFormatters,
        textCapitalization, style, keyboardType, textInputAction);