Skip to content

Commit

Permalink
Upgraded dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
prijindal committed Jan 17, 2024
1 parent d9f1b4b commit d71c58a
Show file tree
Hide file tree
Showing 6 changed files with 129 additions and 119 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"editor.codeActionsOnSave": {
"source.organizeImports": true
"source.organizeImports": "explicit"
}
}
12 changes: 7 additions & 5 deletions lib/components/entryform.dart
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,13 @@ class _EntryDialogFormState extends State<EntryDialogForm> {
DateTimeField(
decoration:
const InputDecoration(hintText: 'Please select date and time'),
selectedDate: _selectedDate,
onDateSelected: (DateTime value) {
setState(() {
_selectedDate = value;
});
value: _selectedDate,
onChanged: (DateTime? value) {
if (value != null) {
setState(() {
_selectedDate = value;
});
}
},
)
],
Expand Down
Loading

0 comments on commit d71c58a

Please sign in to comment.