|
|
|
|
@@ -17,17 +17,17 @@
|
|
|
|
|
import 'dart:convert';
|
|
|
|
|
import 'dart:io';
|
|
|
|
|
|
|
|
|
|
import 'package:gen_defaults/action_chip_template.dart';
|
|
|
|
|
import 'package:gen_defaults/app_bar_template.dart';
|
|
|
|
|
import 'package:gen_defaults/banner_template.dart';
|
|
|
|
|
import 'package:gen_defaults/button_template.dart';
|
|
|
|
|
import 'package:gen_defaults/card_template.dart';
|
|
|
|
|
import 'package:gen_defaults/checkbox_template.dart';
|
|
|
|
|
import 'package:gen_defaults/chip_action_template.dart';
|
|
|
|
|
import 'package:gen_defaults/chip_filter_template.dart';
|
|
|
|
|
import 'package:gen_defaults/chip_input_template.dart';
|
|
|
|
|
import 'package:gen_defaults/dialog_template.dart';
|
|
|
|
|
import 'package:gen_defaults/fab_template.dart';
|
|
|
|
|
import 'package:gen_defaults/filter_chip_template.dart';
|
|
|
|
|
import 'package:gen_defaults/icon_button_template.dart';
|
|
|
|
|
import 'package:gen_defaults/input_chip_template.dart';
|
|
|
|
|
import 'package:gen_defaults/input_decorator_template.dart';
|
|
|
|
|
import 'package:gen_defaults/navigation_bar_template.dart';
|
|
|
|
|
import 'package:gen_defaults/navigation_rail_template.dart';
|
|
|
|
|
@@ -104,6 +104,7 @@ Future<void> main(List<String> args) async {
|
|
|
|
|
tokens['colorsLight'] = _readTokenFile('color_light.json');
|
|
|
|
|
tokens['colorsDark'] = _readTokenFile('color_dark.json');
|
|
|
|
|
|
|
|
|
|
ActionChipTemplate('ActionChip', '$materialLib/action_chip.dart', tokens).updateFile();
|
|
|
|
|
AppBarTemplate('AppBar', '$materialLib/app_bar.dart', tokens).updateFile();
|
|
|
|
|
BannerTemplate('Banner', '$materialLib/banner.dart', tokens).updateFile();
|
|
|
|
|
ButtonTemplate('md.comp.elevated-button', 'ElevatedButton', '$materialLib/elevated_button.dart', tokens).updateFile();
|
|
|
|
|
@@ -113,13 +114,12 @@ Future<void> main(List<String> args) async {
|
|
|
|
|
ButtonTemplate('md.comp.text-button', 'TextButton', '$materialLib/text_button.dart', tokens).updateFile();
|
|
|
|
|
CardTemplate('Card', '$materialLib/card.dart', tokens).updateFile();
|
|
|
|
|
CheckboxTemplate('Checkbox', '$materialLib/checkbox.dart', tokens).updateFile();
|
|
|
|
|
ChipActionTemplate('ActionChip', '$materialLib/action_chip.dart', tokens).updateFile();
|
|
|
|
|
ChipFilterTemplate('FilterChip', '$materialLib/filter_chip.dart', tokens).updateFile();
|
|
|
|
|
ChipFilterTemplate('FilterChip', '$materialLib/choice_chip.dart', tokens).updateFile();
|
|
|
|
|
ChipInputTemplate('InputChip', '$materialLib/input_chip.dart', tokens).updateFile();
|
|
|
|
|
DialogTemplate('Dialog', '$materialLib/dialog.dart', tokens).updateFile();
|
|
|
|
|
FABTemplate('FAB', '$materialLib/floating_action_button.dart', tokens).updateFile();
|
|
|
|
|
FilterChipTemplate('ChoiceChip', '$materialLib/choice_chip.dart', tokens).updateFile();
|
|
|
|
|
FilterChipTemplate('FilterChip', '$materialLib/filter_chip.dart', tokens).updateFile();
|
|
|
|
|
IconButtonTemplate('IconButton', '$materialLib/icon_button.dart', tokens).updateFile();
|
|
|
|
|
InputChipTemplate('InputChip', '$materialLib/input_chip.dart', tokens).updateFile();
|
|
|
|
|
InputDecoratorTemplate('InputDecorator', '$materialLib/input_decorator.dart', tokens).updateFile();
|
|
|
|
|
NavigationBarTemplate('NavigationBar', '$materialLib/navigation_bar.dart', tokens).updateFile();
|
|
|
|
|
NavigationRailTemplate('NavigationRail', '$materialLib/navigation_rail.dart', tokens).updateFile();
|
|
|
|
|
|