From 3267b138228d25301cc2b8645954ee2387e0ac07 Mon Sep 17 00:00:00 2001 From: Miguel Beltran Date: Fri, 21 Jul 2023 03:33:40 +0200 Subject: [PATCH] Enable Material 3 on `experimental/varfont_shader_puzzle` (#1950) Enable Material 3. Very small differences in the default font weight. #### Before Material 3 Screenshot 2023-07-20 at 15 16 57 #### With Material 3 Screenshot 2023-07-20 at 15 18 10 ## Pre-launch Checklist - [ ] I read the [Flutter Style Guide] _recently_, and have followed its advice. - [ ] I signed the [CLA]. - [ ] I read the [Contributors Guide]. - [ ] I updated/added relevant documentation (doc comments with `///`). - [ ] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-devrel channel on [Discord]. [Flutter Style Guide]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo [CLA]: https://cla.developers.google.com/ [Discord]: https://github.com/flutter/flutter/wiki/Chat [Contributors Guide]: https://github.com/flutter/samples/blob/main/CONTRIBUTING.md Co-authored-by: Brett Morgan --- experimental/varfont_shader_puzzle/lib/main.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/experimental/varfont_shader_puzzle/lib/main.dart b/experimental/varfont_shader_puzzle/lib/main.dart index 2a26e0221..16ce72b21 100644 --- a/experimental/varfont_shader_puzzle/lib/main.dart +++ b/experimental/varfont_shader_puzzle/lib/main.dart @@ -19,6 +19,7 @@ class TypePuzzle extends StatelessWidget { title: 'Type Jam', theme: ThemeData( primarySwatch: Colors.grey, + useMaterial3: true, ), home: const Scaffold( appBar: null,