TODO: Flutter TextFormField.
Features
TODO: Flutter TextFormField.
Getting started
TODO: Flutter TextFormField.
Usage
TODO: Flutter TextFormField.
class MyForm extends StatelessWidget {
const MyForm({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
body: Column(
children: [
FlutterTextFormField(
fillColor: Colors.grey.shade300,
hintText: 'Flutter Textformfield',
prefixIcon: Icons.email,
validator: (value) {
if (value?.isEmpty ?? false || value == null) {
return 'Field is required.';
}
return null;
},
),
],
),
);
}
}
Additional information
TODO: Flutter TextFormField.