Skip to content

Commit ea6b0fb

Browse files
committed
chore: flutter format
1 parent 1cedd87 commit ea6b0fb

File tree

3 files changed

+19
-7
lines changed

3 files changed

+19
-7
lines changed

lib/flutter_form_builder.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ export './src/form_builder_field.dart';
1919
export './src/form_builder_field_option.dart';
2020
export './src/form_builder_validators.dart';
2121
export './src/widgets/grouped_checkbox.dart';
22-
export './src/widgets/grouped_radio.dart';
22+
export './src/widgets/grouped_radio.dart';

lib/localization/form_builder_localizations.dart

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,20 @@ class _FormBuilderLocalizationsDelegate
135135

136136
@override
137137
bool isSupported(Locale locale) {
138-
return ['de', 'en', 'es', 'fa', 'fr', 'hu', 'it', 'ja', 'pt', 'sk', 'pl', 'ar']
139-
.contains(locale.languageCode);
138+
return [
139+
'de',
140+
'en',
141+
'es',
142+
'fa',
143+
'fr',
144+
'hu',
145+
'it',
146+
'ja',
147+
'pt',
148+
'sk',
149+
'pl',
150+
'ar'
151+
].contains(locale.languageCode);
140152
}
141153

142154
@override

lib/src/fields/form_builder_dropdown.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,10 +240,10 @@ class FormBuilderDropdown<T> extends FormBuilderField<T> {
240240

241241
return InputDecorator(
242242
decoration: state.decoration.copyWith(
243-
floatingLabelBehavior: hint == null
244-
? decoration.floatingLabelBehavior
245-
: FloatingLabelBehavior.always,
246-
),
243+
floatingLabelBehavior: hint == null
244+
? decoration.floatingLabelBehavior
245+
: FloatingLabelBehavior.always,
246+
),
247247
isEmpty: state.value == null,
248248
child: Row(
249249
children: <Widget>[

0 commit comments

Comments
 (0)