fixes #42 dense empty form field

This commit is contained in:
torbenkeller 2023-08-17 17:01:44 +02:00
parent f0f2dc025d
commit 9ee7a69f5d
3 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
# 3.0.6
- Fixing issue #42 dense empty form field
# 3.0.5
- Bumping intl to 0.18.0

View file

@ -370,7 +370,7 @@ class _InputDropdownState extends State<_InputDropdown> {
),
isEmpty: widget.isEmpty,
child: widget.text == null
? null
? Text('', style: widget.textStyle)
: Text(widget.text!, style: widget.textStyle),
),
),

View file

@ -1,6 +1,6 @@
name: date_field
description: A widget in the form of a field that lets people choose a date, a time or both.
version: 3.0.5
version: 3.0.6
homepage: 'https://github.com/GaspardMerten/date_field'
environment: