This is simple and yet fancy textform field component which can be used in any form validation or login page.

Features

This TextFormField offers wide range support with beautiful fill in color and border without loosing any property of TextField.

Usage

There are number of textfield property that you can use and modify:

  • secure text(Secure Text)
  • suffix widget
  • prefix widget
  • selected border color
  • filled color
  • line height for normal text field and detail description field

class MyAppCard extends StatefulWidget {
  const MyAppCard({Key? key}) : super(key: key);
  @override
  _MyAppCardState createState() => _MyAppCardState();
}
class _MyAppCardState extends State<MyAppCard> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: FlutterInputField(
        hintText: 'Enter username',
        labelText: 'Username',
        filledColor: Colors.grey.shade200,
        onChange: (String st) {},
        prefixWidget: const Icon(Icons.person),
        onDone: () {},
      ),
    );
  }
}

Additional information

TODO: Tell users more about the package: where to find more information, how to contribute to the package, how to file issues, what response they can expect from the package authors, and more.