mirror of
https://github.com/Iconica-Development/flutter_form_wizard.git
synced 2025-05-19 19:03:47 +02:00
add date label as argument
This commit is contained in:
parent
d8691d36aa
commit
e387968e86
2 changed files with 2 additions and 1 deletions
|
@ -40,7 +40,7 @@ class _DatePageState extends State<DatePage> {
|
|||
const Duration(days: 7),
|
||||
),
|
||||
),
|
||||
label: const Text("Date"),
|
||||
label: const Text("Custom date label"),
|
||||
controller: widget.dateController,
|
||||
),
|
||||
),
|
||||
|
|
|
@ -51,6 +51,7 @@ class FlutterFormInputDateTime extends FlutterFormInputWidget {
|
|||
super.registerController(context);
|
||||
|
||||
return DateTimeInputField(
|
||||
label: label,
|
||||
firstDate: firstDate,
|
||||
lastDate: lastDate,
|
||||
inputType: inputType,
|
||||
|
|
Loading…
Reference in a new issue