diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index bd7a794a9..6654a1276 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -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 @@ -10,15 +11,15 @@ 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: @@ -26,9 +27,9 @@ EXTERNAL SOURCES: 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 diff --git a/example/lib/example5_themes_playground/widgets/panels/theme_colors_settings/theme_colors_settings.dart b/example/lib/example5_themes_playground/widgets/panels/theme_colors_settings/theme_colors_settings.dart index 71b9f3f61..2b1db325e 100644 --- a/example/lib/example5_themes_playground/widgets/panels/theme_colors_settings/theme_colors_settings.dart +++ b/example/lib/example5_themes_playground/widgets/panels/theme_colors_settings/theme_colors_settings.dart @@ -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, @@ -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)) ...[ 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); },