Migrate NavigationRail to Material 3. (#99171)
This commit is contained in:
@@ -20,6 +20,7 @@ import 'dart:io';
|
||||
import 'package:gen_defaults/dialog_template.dart';
|
||||
import 'package:gen_defaults/fab_template.dart';
|
||||
import 'package:gen_defaults/navigation_bar_template.dart';
|
||||
import 'package:gen_defaults/navigation_rail_template.dart';
|
||||
import 'package:gen_defaults/typography_template.dart';
|
||||
|
||||
Map<String, dynamic> _readTokenFile(String fileName) {
|
||||
@@ -45,6 +46,7 @@ Future<void> main(List<String> args) async {
|
||||
'input_chip.json',
|
||||
'motion.json',
|
||||
'navigation_bar.json',
|
||||
'navigation_rail.json',
|
||||
'outlined_card.json',
|
||||
'palette.json',
|
||||
'shape.json',
|
||||
@@ -70,6 +72,7 @@ Future<void> main(List<String> args) async {
|
||||
|
||||
FABTemplate('$materialLib/floating_action_button.dart', tokens).updateFile();
|
||||
NavigationBarTemplate('$materialLib/navigation_bar.dart', tokens).updateFile();
|
||||
NavigationRailTemplate('$materialLib/navigation_rail.dart', tokens).updateFile();
|
||||
TypographyTemplate('$materialLib/typography.dart', tokens).updateFile();
|
||||
DialogTemplate('$materialLib/dialog.dart', tokens).updateFile();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user