flutter_datetime_formfield 0.1.0 flutter_datetime_formfield: ^0.1.0 copied to clipboard
A date time picker form field
A date time picker form field
How to use #
class MyWidget extends StatelessWidget {
final DateTime initialValue;
final String label;
MyWidget({Key key, @required this.initialValue, this.label}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
title: "",
home: Scaffold(
appBar: AppBar(
title: Text(""),
),
body: Center(
child: DateTimeFormField(
initialValue: initialValue,
label: label,
),
),
),
);
}
}