flutter format
This commit is contained in:
@@ -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,
|
||||
)),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user