Skip to content

Commit

Permalink
deps: update to latest zeta_flutter
Browse files Browse the repository at this point in the history
  • Loading branch information
thelukewalton committed Jun 10, 2024
1 parent d86410e commit fb3593b
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion example/lib/pages/components/default_flutter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ class DefaultFlutter extends StatelessWidget {
TextButton(onPressed: () {}, child: Text("Cancel")),
const Spacer(),
OutlinedButton(onPressed: () {}, child: Text("Reset")),
SizedBox(width: ZetaSpacing.xs),
SizedBox(width: ZetaSpacing.small),
ElevatedButton(onPressed: () {}, child: Text("Next")),
],
),
Expand Down
2 changes: 1 addition & 1 deletion example/lib/pages/utils/theme_color_switch.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class ZetaThemeColorSwitch extends StatelessWidget {
isDense: true,
alignment: Alignment.center,
icon: SizedBox(width: 0),
padding: EdgeInsets.all(ZetaSpacing.xs),
padding: EdgeInsets.all(ZetaSpacing.small),
dropdownColor: zeta.colors.borderDisabled,
items: _themes.entries.map((e) {
var zetaColors = primary(_themes[e.key]!).apply(contrast: zeta.contrast);
Expand Down
2 changes: 1 addition & 1 deletion example/lib/pages/utils/theme_constrast_switch.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class ZetaThemeContrastSwitch extends StatelessWidget {
isDense: true,
alignment: Alignment.center,
icon: SizedBox(width: 0),
padding: EdgeInsets.all(ZetaSpacing.xs),
padding: EdgeInsets.all(ZetaSpacing.small),
dropdownColor: zeta.colors.borderDisabled,
items: _themes.map((e) {
final colors = zetaColors(e);
Expand Down
2 changes: 1 addition & 1 deletion example/lib/pages/utils/theme_mode_switch.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class ZetaThemeModeSwitch extends StatelessWidget {
alignment: Alignment.center,
icon: SizedBox(width: 0),
dropdownColor: zeta.colors.borderDisabled,
padding: EdgeInsets.all(ZetaSpacing.xs),
padding: EdgeInsets.all(ZetaSpacing.small),
items: _themes.map((e) {
final colors = zetaColors(e).apply(contrast: zeta.contrast);
return DropdownMenuItem<ThemeMode>(
Expand Down
12 changes: 6 additions & 6 deletions lib/src/components/atoms/circle_icon_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ class _CircleIconButton extends State<CircleIconButton> {
]
.divide(
const SizedBox(
height: ZetaSpacing.xxs,
height: ZetaSpacing.minimum,
),
)
.toList(),
Expand All @@ -205,22 +205,22 @@ class _CircleIconButton extends State<CircleIconButton> {
double get _iconPadding {
switch (widget.size) {
case ButtonSize.large:
return ZetaSpacing.x5;
return ZetaSpacing.xl_1;
case ButtonSize.medium:
return 15;
case ButtonSize.small:
return ZetaSpacing.x1;
return ZetaSpacing.minimum;
}
}

double get _iconSize {
switch (widget.size) {
case ButtonSize.large:
return ZetaSpacing.x10;
return ZetaSpacing.xl_6;
case ButtonSize.medium:
return ZetaSpacing.x7_5;
return ZetaSpacingBase.x7_5;
case ButtonSize.small:
return ZetaSpacing.x5;
return ZetaSpacing.xl_1;
}
}

Expand Down
20 changes: 10 additions & 10 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ dependencies:
dart_emoji: ^0.2.0+2
dropdown_button2: ^2.3.9
expand_tap_area: ^1.1.1
extended_image: ^8.2.0
file_picker: ^8.0.3
extended_image: ^8.2.1
file_picker: ^8.0.4
flutter:
sdk: flutter
flutter_colorpicker: ^1.1.0
Expand All @@ -43,15 +43,15 @@ dependencies:
flutter_layout_grid: ^2.0.7
flutter_localizations:
sdk: flutter
flutter_quill: ^9.3.18
flutter_quill: ^9.3.21
flutter_slidable: ^3.1.0
flutter_svg: ^2.0.10+1
flutter_swipe_action_cell: ^3.1.3
giphy_get: ^3.5.5
html: ^0.15.4
http_client_helper: ^3.0.0
image_editor_plus: ^1.0.6
image_picker: ^1.1.1
image_picker: ^1.1.2
intl: ^0.19.0
just_audio: ^0.9.38
linked_scroll_controller: ^0.2.0
Expand All @@ -61,23 +61,23 @@ dependencies:
path: ^1.9.0
path_provider: ^2.1.3
popover: ^0.3.0+1
record: ^5.0.5
record: ^5.1.1
share_plus: ^9.0.0
shared_preferences: ^2.2.3
shimmer: ^3.0.0
table_calendar: ^3.1.1
universal_platform: ^1.0.0+1
url_launcher: ^6.2.6
table_calendar: ^3.1.2
universal_platform: ^1.1.0
url_launcher: ^6.3.0
validators: ^3.0.0
video_compress: ^3.1.2
video_player: ^2.8.6
vsc_quill_delta_to_html: ^1.0.4
zeta_flutter: ^0.10.0
zeta_flutter: ^0.11.1

dev_dependencies:
flutter_test:
sdk: flutter
lottie: ^3.0.0
lottie: ^3.1.2
zds_analysis: ^1.0.0

flutter:
Expand Down

0 comments on commit fb3593b

Please sign in to comment.