Skip to content

Commit 590cae2

Browse files
style: run dart format
1 parent 8693fe9 commit 590cae2

File tree

39 files changed

+94
-85
lines changed

39 files changed

+94
-85
lines changed

example/integration_test/plugin_integration_test.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
// // For more information about Flutter integration tests, please see
77
// // https://docs.flutter.dev/cookbook/testing/integration/introduction
88

9-
109
// import 'package:flutter_test/flutter_test.dart';
1110
// import 'package:integration_test/integration_test.dart';
1211

example/lib/custom_config.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ Map<String, dynamic> customButton2 = {
3030
'bg': '\$primary600',
3131
'borderColor': '\$primary300',
3232
},
33-
3433
},
3534
},
3635
':disabled': {

example/lib/example/checkbox_example.dart

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ class CheckBoxExample extends StatefulWidget {
1212
}
1313

1414
class _CheckBoxExampleState extends State<CheckBoxExample> {
15-
final List dropdownSizeOptions = [GSCheckBoxSizes.$sm, GSCheckBoxSizes.$md, GSCheckBoxSizes.$lg];
15+
final List dropdownSizeOptions = [
16+
GSCheckBoxSizes.$sm,
17+
GSCheckBoxSizes.$md,
18+
GSCheckBoxSizes.$lg
19+
];
1620
GSCheckBoxSizes selectedSizeOption = GSCheckBoxSizes.$md;
1721
void updateSizeSelectedOption(dynamic newOption) {
1822
setState(() {

example/lib/example/fab_example.dart

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,18 @@ class FabExample extends StatefulWidget {
1212
}
1313

1414
class _FabExampleState extends State<FabExample> {
15-
final List dropdownSizeOptions = [GSFABSizes.$sm, GSFABSizes.$md, GSFABSizes.$lg];
15+
final List dropdownSizeOptions = [
16+
GSFABSizes.$sm,
17+
GSFABSizes.$md,
18+
GSFABSizes.$lg
19+
];
1620
final List dropdownPlacementOptions = [
17-
GSFABPlacements.bottomCenter,
18-
GSFABPlacements.bottomLeft,
19-
GSFABPlacements.bottomRight,
20-
GSFABPlacements.topCenter,
21-
GSFABPlacements.topLeft,
22-
GSFABPlacements.topRight
21+
GSFABPlacements.bottomCenter,
22+
GSFABPlacements.bottomLeft,
23+
GSFABPlacements.bottomRight,
24+
GSFABPlacements.topCenter,
25+
GSFABPlacements.topLeft,
26+
GSFABPlacements.topRight
2327
];
2428
GSFABSizes selectedSizeOption = GSFABSizes.$md;
2529
GSFABPlacements selectedPlacementOption = GSFABPlacements.bottomRight;

example/lib/example/form_example.dart

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ class FormExample extends StatefulWidget {
1515
class _FormExampleState extends State<FormExample> {
1616
final GlobalKey<FormState> _formKey = GlobalKey<FormState>();
1717
Value groupValue = Value.one;
18-
final List dropdownSizeOptions = [GSFormControlSizes.$sm, GSFormControlSizes.$md, GSFormControlSizes.$lg];
18+
final List dropdownSizeOptions = [
19+
GSFormControlSizes.$sm,
20+
GSFormControlSizes.$md,
21+
GSFormControlSizes.$lg
22+
];
1923
void updateSizeSelectedOption(dynamic newOption) {
2024
setState(() {
2125
selectedSizeOption = newOption;

example/lib/example/icon_example.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ class IconExample extends StatefulWidget {
1212

1313
class _IconExampleState extends State<IconExample> {
1414
final List dropdownSizeOptions = [
15-
GSIconSizes.$xs,
16-
GSIconSizes.$sm,
17-
GSIconSizes.$md,
18-
GSIconSizes.$lg,
19-
GSIconSizes.$xl,
15+
GSIconSizes.$xs,
16+
GSIconSizes.$sm,
17+
GSIconSizes.$md,
18+
GSIconSizes.$lg,
19+
GSIconSizes.$xl,
2020
];
2121
GSIconSizes selectedSizeOption = GSIconSizes.$md;
2222

example/lib/example/text_area_example.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ class TextAreaExample extends StatefulWidget {
1313

1414
class _TextAreaExampleState extends State<TextAreaExample> {
1515
final List dropdownSizeOptions = [
16-
GSTextAreaSizes.$sm,
17-
GSTextAreaSizes.$md,
18-
GSTextAreaSizes.$lg,
19-
GSTextAreaSizes.$xl,
16+
GSTextAreaSizes.$sm,
17+
GSTextAreaSizes.$md,
18+
GSTextAreaSizes.$lg,
19+
GSTextAreaSizes.$xl,
2020
];
2121
GSTextAreaSizes selectedSizeOption = GSTextAreaSizes.$md;
2222

example/lib/example/toast_example.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@ class _ToastExampleState extends State<ToastExample> {
7070
onPressed: () {
7171
showToast(
7272
context,
73-
child:
74-
GSToast(
73+
child: GSToast(
7574
variant: selectedVariantOption,
7675
action: selectedActionOption,
7776
child: const Column(

example/lib/kitchensink_gluestack_example/lib/components/list_your_place_modal/content1.dart

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ class _ListYourPlaceModalContent1State
3232
children: [
3333
GSButton(
3434
size: GSButtonSizes.$xs,
35-
action:
36-
isSellSelected ? GSButtonActions.primary : GSButtonActions.secondary,
35+
action: isSellSelected
36+
? GSButtonActions.primary
37+
: GSButtonActions.secondary,
3738
variant: GSButtonVariants.outline,
3839
style: GSStyle(borderRadius: $GSRadii.full),
3940
child: const GSButtonText(text: "Sell"),
@@ -45,8 +46,9 @@ class _ListYourPlaceModalContent1State
4546
),
4647
GSButton(
4748
size: GSButtonSizes.$xs,
48-
action:
49-
!isSellSelected ? GSButtonActions.primary : GSButtonActions.secondary,
49+
action: !isSellSelected
50+
? GSButtonActions.primary
51+
: GSButtonActions.secondary,
5052
variant: GSButtonVariants.outline,
5153
style: GSStyle(borderRadius: $GSRadii.full),
5254
child: const GSButtonText(text: "Rent/Lease"),
@@ -146,7 +148,7 @@ class _ListYourPlaceModalContent1State
146148
variant: GSButtonVariants.outline,
147149
style: GSStyle(borderRadius: $GSRadii.full),
148150
child:
149-
const GSButtonText(text: 'independent floor/building floor'),
151+
const GSButtonText(text: 'independent floor/building floor'),
150152
onPressed: () {
151153
setState(() {
152154
selectedPropertyType[2] = !selectedPropertyType[2];
@@ -160,7 +162,7 @@ class _ListYourPlaceModalContent1State
160162
: GSButtonActions.secondary,
161163
variant: GSButtonVariants.outline,
162164
style: GSStyle(borderRadius: $GSRadii.full),
163-
child: const GSButtonText(text: 'Plot/Land'),
165+
child: const GSButtonText(text: 'Plot/Land'),
164166
onPressed: () {
165167
setState(() {
166168
selectedPropertyType[3] = !selectedPropertyType[3];

example/lib/kitchensink_gluestack_example/lib/components/sidebar/sortby.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ class _KSSortByState extends State<KSSortBy> {
5050
for (int i = 0; i < _sortByData.length; i++)
5151
GSRadio<KSSortOptions>(
5252
style: GSStyle(
53-
margin: EdgeInsets.only(
54-
right: $GSSpace.$3, left: $GSSpace.$1)),
53+
margin: EdgeInsets.only(right: $GSSpace.$3, left: $GSSpace.$1)),
5554
icon: const GSRadioIcon<KSSortOptions>(
5655
size: GSSizes.$sm,
5756
),

0 commit comments

Comments
 (0)