Skip to content

Commit

Permalink
Playground: Label updates
Browse files Browse the repository at this point in the history
  • Loading branch information
rydmike committed Mar 18, 2023
1 parent d763cbb commit 950029f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 11 deletions.
15 changes: 8 additions & 7 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
PODS:
- Flutter (1.0.0)
- path_provider_ios (0.0.1):
- path_provider_foundation (0.0.1):
- Flutter
- FlutterMacOS
- shared_preferences_foundation (0.0.1):
- Flutter
- FlutterMacOS
Expand All @@ -10,25 +11,25 @@ PODS:

DEPENDENCIES:
- Flutter (from `Flutter`)
- path_provider_ios (from `.symlinks/plugins/path_provider_ios/ios`)
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/ios`)
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/ios`)
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)

EXTERNAL SOURCES:
Flutter:
:path: Flutter
path_provider_ios:
:path: ".symlinks/plugins/path_provider_ios/ios"
path_provider_foundation:
:path: ".symlinks/plugins/path_provider_foundation/ios"
shared_preferences_foundation:
:path: ".symlinks/plugins/shared_preferences_foundation/ios"
url_launcher_ios:
:path: ".symlinks/plugins/url_launcher_ios/ios"

SPEC CHECKSUMS:
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
path_provider_ios: 14f3d2fd28c4fdb42f44e0f751d12861c43cee02
shared_preferences_foundation: 297b3ebca31b34ec92be11acd7fb0ba932c822ca
url_launcher_ios: ae1517e5e344f5544fb090b079e11f399dfbe4d2
path_provider_foundation: c68054786f1b4f3343858c1e1d0caaded73f0be9
shared_preferences_foundation: 986fc17f3d3251412d18b0265f9c64113a8c2472
url_launcher_ios: 08a3dfac5fb39e8759aeb0abbd5d9480f30fc8b4

PODFILE CHECKSUM: ef19549a9bc3046e7bb7d2fab4d021637c0c58a3

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ class ThemeColorsSettings extends StatelessWidget {
Widget build(BuildContext context) {
final ThemeData theme = Theme.of(context);
final bool isLight = theme.brightness == Brightness.light;
final TextStyle denseBody = theme.textTheme.bodyMedium!
.copyWith(fontSize: 12, color: theme.textTheme.bodySmall!.color);

return Column(
crossAxisAlignment: CrossAxisAlignment.start,
Expand All @@ -60,16 +62,21 @@ class ThemeColorsSettings extends StatelessWidget {
ThemeModeSwitchListTile(controller: controller),
InputColorsPopupMenu(controller: controller),
Padding(
padding: const EdgeInsetsDirectional.fromSTEB(16, 8, 16, 8),
padding: const EdgeInsetsDirectional.fromSTEB(16, 8, 16, 0),
child: ShowInputColors(controller: controller),
),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 4),
child: Text(
'Tap a color code to copy it to the clipboard.',
style: denseBody,
),
),
if (controller.schemeIndex !=
(AppColor.schemes.length - 1)) ...<Widget>[
ListTile(
title: const Text('Use a custom theme?'),
subtitle: const Text('Tap here to active the customizable theme. '
'If you tap a color code above, it is copied it to the '
'clipboard.'),
subtitle: const Text('Tap here to active the customizable theme.'),
onTap: () {
controller.setSchemeIndex(AppColor.schemes.length - 1);
},
Expand Down

0 comments on commit 950029f

Please sign in to comment.