flutter_input_field 0.0.5 copy "flutter_input_field: ^0.0.5" to clipboard
flutter_input_field: ^0.0.5 copied to clipboard

A new Flutter package project.

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.

4
likes
120
pub points
55%
popularity

Publisher

unverified uploader

A new Flutter package project.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_input_field