Flutter & Dart · Command
flutter create
InputDecoration describes the visual parts of a Material text field. Use it with TextField or InputDecorator for borders, labels, hints, icons, helper text, and errors.
Last updated
Syntax
InputDecoration({Key? key, String? labelText, String? hintText, String? helperText, String? errorText, String? prefixText, String? suffixText, Widget? prefixIcon, InputBorder? border})In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
TextFieldInputDecoratorDecorationDecoratedBox