mirror of
https://github.com/Iconica-Development/flutter_form_wizard.git
synced 2025-05-19 19:03:47 +02:00
add icon as argument
This commit is contained in:
parent
d23551913a
commit
71c1539c78
2 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,7 @@ class DateTimeInputField extends ConsumerStatefulWidget {
|
|||
required this.controller,
|
||||
this.label,
|
||||
this.showIcon = true,
|
||||
this.icon = Icons.calendar_today,
|
||||
required this.icon,
|
||||
required this.dateFormat,
|
||||
required this.firstDate,
|
||||
required this.lastDate,
|
||||
|
|
|
@ -52,6 +52,7 @@ class FlutterFormInputDateTime extends FlutterFormInputWidget<String> {
|
|||
|
||||
return DateTimeInputField(
|
||||
label: label,
|
||||
icon: icon,
|
||||
firstDate: firstDate,
|
||||
lastDate: lastDate,
|
||||
inputType: inputType,
|
||||
|
|
Loading…
Reference in a new issue