Skip to content

Commit 734459e

Browse files
style: dart format
1 parent de385e7 commit 734459e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+63
-69
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/utils/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/widgets/components/layout/toggle.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class _CustomToggleState extends State<CustomToggle> {
3131
children: [
3232
Text(
3333
widget.title,
34-
style: TextStyle(color: $GSColors.backgroundDark500),
34+
style: TextStyle(color: $GSColors.backgroundDark500),
3535
),
3636
const SizedBox(height: 10),
3737
GSSwitch(

lib/src/style/gs_style.dart

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -948,10 +948,11 @@ class GSStyle extends BaseStyle<GSStyle> {
948948
data?['my'].toString(), 'vertical')
949949
: data?['mb'] != null
950950
? resolvePaddingFromString(
951-
data?['mb'].toString(), 'only') :
952-
data?['mt'] != null ? resolvePaddingFromString(
953-
data?['mt'].toString(), 'only')
954-
: null,
951+
data?['mb'].toString(), 'only')
952+
: data?['mt'] != null
953+
? resolvePaddingFromString(
954+
data?['mt'].toString(), 'only')
955+
: null,
955956
bottom: resolveSpaceFromString(data?['bottom'].toString()),
956957
left: resolveSpaceFromString(data?['left'].toString()),
957958
right: resolveSpaceFromString(data?['right'].toString()),
@@ -1193,7 +1194,8 @@ class GSStyle extends BaseStyle<GSStyle> {
11931194
data?['_icon']?['_dark']?['color'],
11941195
),
11951196
item: GSStyle(
1196-
bg: resolveColorFromString(data?['_dark']?['_item']?['backgroundColor']),
1197+
bg: resolveColorFromString(
1198+
data?['_dark']?['_item']?['backgroundColor']),
11971199
),
11981200
web: GSStyle(
11991201
onFocus: GSStyle(
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
const Map<String, dynamic> accordionItemData = {};
1+
const Map<String, dynamic> accordionItemData = {};
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
const accordionTitleTextData = {
22
'flex': 1,
33
'textAlign': 'left',
4-
};
4+
};

lib/src/theme/config/button/button.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const Map<String, dynamic> buttonData = {
2929
},
3030
'variants': {
3131
'action': {
32-
'primary': {
32+
'primary': {
3333
'bg': '\$primary500',
3434
'borderColor': '\$primary300',
3535
':hover': {

lib/src/theme/config/fab/fab.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,4 +162,4 @@ const Map<String, dynamic> fabData = {
162162
'size': 'md',
163163
'hardShadow': '2',
164164
},
165-
};
165+
};

lib/src/theme/config/fab/icon.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ const Map<String, dynamic> fabIconData = {
22
'props': {
33
'size': 'md',
44
},
5-
};
5+
};

lib/src/theme/config/fab/label.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
const Map<String, dynamic> fabLabelData = {
22
"color": '\$textLight50',
3-
};
3+
};

0 commit comments

Comments
 (0)