Skip to content

Commit

Permalink
Update address_picker.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
namndev authored Feb 17, 2020
1 parent a9f3dd8 commit 78a9d51
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/address_picker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ class _AddressPickerState extends State<AddressPicker> {
width: double.infinity,
height: 60.0,
child: DropdownButton<Province>(
isExpanded: true,
underline: widget.underline,
hint: Text('Chọn Tỉnh/ Thành phố',
style: TextStyle().merge(
Expand Down Expand Up @@ -137,6 +138,7 @@ class _AddressPickerState extends State<AddressPicker> {
? widget.placeHolderTextStyle
: null)),
value: _districtSelected,
isExpanded: true,
underline: widget.underline,
items: (_provinceSelected ?? Province(districts: []))
.districts
Expand Down Expand Up @@ -165,6 +167,7 @@ class _AddressPickerState extends State<AddressPicker> {
? widget.placeHolderTextStyle
: null)),
value: _wardsSelected,
isExpanded: true,
underline: widget.underline,
items:
(_districtSelected ?? District(wards: [])).wards.map((w) {
Expand Down

0 comments on commit 78a9d51

Please sign in to comment.