flutter_form_validator 0.0.1
flutter_form_validator: ^0.0.1 copied to clipboard
This package contains code for flutter form validation widgets.
flutter_form_validator #
A new Flutter package.
Getting Started #
This project is a starting point for a Dart
This package contains code for flutter form validation widgets. #
package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
flutter_form_validator #
flutter_form_validator #
#How to user
class HomePage extends StatefulWidget { @override _HomePageState createState() => _HomePageState(); }
class _HomePageState extends State
void _validate() { _form.currentState.validate(); }
@override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text('Example'), ), body: Form( key: _form, child: SingleChildScrollView( padding: const EdgeInsets.all(15), child: Column( mainAxisAlignment: MainAxisAlignment.center, children: