flutter format

This commit is contained in:
Salvatore Giordano
2020-12-11 23:27:23 +01:00
parent 1eafff660c
commit bc3e7ea568

View File

@@ -158,7 +158,6 @@ class CountryCodePickerState extends State<CountryCodePicker> {
direction: Axis.horizontal,
mainAxisSize: MainAxisSize.min,
children: <Widget>[
if (widget.showFlagMain != null
? widget.showFlagMain
: widget.showFlag)
@@ -176,7 +175,6 @@ class CountryCodePickerState extends State<CountryCodePicker> {
),
),
),
if (!widget.hideMainText)
Flexible(
fit: widget.alignLeft ? FlexFit.tight : FlexFit.loose,
@@ -184,10 +182,7 @@ class CountryCodePickerState extends State<CountryCodePicker> {
widget.showOnlyCountryWhenClosed
? selectedItem.toCountryStringOnly()
: selectedItem.toString(),
style: widget.textStyle ?? Theme
.of(context)
.textTheme
.button,
style: widget.textStyle ?? Theme.of(context).textTheme.button,
overflow: widget.textOverflow,
),
),
@@ -199,9 +194,11 @@ class CountryCodePickerState extends State<CountryCodePicker> {
padding: widget.alignLeft
? const EdgeInsets.only(right: 16.0, left: 8.0)
: const EdgeInsets.only(right: 16.0),
child: Icon(Icons.arrow_drop_down, color: Colors.grey,
size: widget.flagWidth,)
),
child: Icon(
Icons.arrow_drop_down,
color: Colors.grey,
size: widget.flagWidth,
)),
),
],
),