Skip to content

Commit

Permalink
feat: 所有工具列表详情页面基本 UI
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyongf committed Feb 24, 2019
1 parent 9adbbb2 commit beaae31
Show file tree
Hide file tree
Showing 14 changed files with 730 additions and 19 deletions.
7 changes: 6 additions & 1 deletion lib/common/routes_name.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,13 @@ class Routes {
static const String SK_TOOLS_LIST_PAGE = '/sk/tools-list-page';
static const String SK_EMOJI_LIST_PAGE = '/sk/emoji-list-page';
static const String SK_EMOJI_CUSTOMIZATION_PAGE = '/sk/emoji-customization-page';
static const String SK_LIFE_LIST_PAGE = '/sk/life-list-page';
static const String SK_DAILY_LIST_PAGE = '/sk/daily-list-page';
static const String SK_APP_MANAGEMENT_PAGE = '/sk/app-management-page';
static const String SK_IMAGE_SPLIT_PAGE = '/sk/image-split-page';
static const String SK_LANGUAGE_SELECTOR_PAGE = '/sk/language-selector-page';
static const String SK_ALL_TOOLS_PAGE = '/sk/all-tools-page';
static const String SK_SYSTEM_LIST_PAGE = '/sk/system-list-page';
static const String SK_VALENTINE_PAGE = '/sk/valentine-page';
static const String SK_WANGYONGF_PAGE = '/sk/wangyongf-page';
static const String SK_AWESOME_DEVELOPER_PAGE = '/sk/awesome-developer-page';
}
21 changes: 17 additions & 4 deletions lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
import 'package:swiss_knife/common/routes_name.dart';
import 'package:swiss_knife/pages/about_page.dart';
import 'package:swiss_knife/pages/all_tools_page.dart';
import 'package:swiss_knife/pages/app_management_page.dart';
import 'package:swiss_knife/pages/awesome_developer_page.dart';
import 'package:swiss_knife/pages/emoji_customization_page.dart';
import 'package:swiss_knife/pages/emoji_list_page.dart';
import 'package:swiss_knife/pages/feedback_page.dart';
import 'package:swiss_knife/pages/geek_list_page.dart';
import 'package:swiss_knife/pages/home_page.dart';
import 'package:swiss_knife/pages/image_split_page.dart';
import 'package:swiss_knife/pages/language_selector_page.dart';
import 'package:swiss_knife/pages/life_list_page.dart';
import 'package:swiss_knife/pages/daily_list_page.dart';
import 'package:swiss_knife/pages/settings_page.dart';
import 'package:swiss_knife/pages/system_list_page.dart';
import 'package:swiss_knife/pages/tools_list_page.dart';
import 'package:swiss_knife/pages/translate_page.dart';
import 'package:flutter/material.dart';
import 'package:swiss_knife/pages/valentine_page.dart';
import 'package:swiss_knife/pages/wangyongf_page.dart';

void main() => runApp(MyApp());

Expand All @@ -36,10 +41,18 @@ class MyApp extends StatelessWidget {
Routes.SK_EMOJI_CUSTOMIZATION_PAGE: (BuildContext context) =>
EmojiCustomizationPage(),
Routes.SK_TOOLS_LIST_PAGE: (BuildContext context) => ToolsListPage(),
Routes.SK_LIFE_LIST_PAGE: (BuildContext context) => LifeListPage(),
Routes.SK_APP_MANAGEMENT_PAGE: (BuildContext context) => AppManagementPage(),
Routes.SK_DAILY_LIST_PAGE: (BuildContext context) => DailyListPage(),
Routes.SK_APP_MANAGEMENT_PAGE: (BuildContext context) =>
AppManagementPage(),
Routes.SK_IMAGE_SPLIT_PAGE: (BuildContext context) => ImageSplitPage(),
Routes.SK_LANGUAGE_SELECTOR_PAGE: (BuildContext context) => LanguageSelectorPage(),
Routes.SK_LANGUAGE_SELECTOR_PAGE: (BuildContext context) =>
LanguageSelectorPage(),
Routes.SK_ALL_TOOLS_PAGE: (BuildContext context) => AllToolsPage(),
Routes.SK_SYSTEM_LIST_PAGE: (BuildContext context) => SystemListPage(),
Routes.SK_VALENTINE_PAGE: (BuildContext context) => ValentinePage(),
Routes.SK_WANGYONGF_PAGE: (BuildContext context) => WangYongfPage(),
Routes.SK_AWESOME_DEVELOPER_PAGE: (BuildContext context) =>
AwesomeDeveloperPage(),
},
);
}
Expand Down
Loading

0 comments on commit beaae31

Please sign in to comment.