diff --git a/assets/iconfont/fx_icon.ttf b/assets/iconfont/fx_icon.ttf new file mode 100644 index 0000000..382a30e Binary files /dev/null and b/assets/iconfont/fx_icon.ttf differ diff --git a/lib/app/res/fx_icon.dart b/lib/app/res/fx_icon.dart new file mode 100644 index 0000000..10ba64c --- /dev/null +++ b/lib/app/res/fx_icon.dart @@ -0,0 +1,15 @@ +import 'package:flutter/widgets.dart'; +// Power By 张风捷特烈--- Generated file. Do not edit. +// 欢迎支持: https://github.com/toly1994328/FlutterUnit +class FxIcon { + FxIcon._(); + static const IconData icon_sun = IconData(0xe61a, fontFamily: "FxIcon"); +static const IconData icon_anima = IconData(0xe66b, fontFamily: "FxIcon"); +static const IconData icon_scroll = IconData(0xe72c, fontFamily: "FxIcon"); +static const IconData icon_paint = IconData(0xe635, fontFamily: "FxIcon"); +static const IconData icon_layout = IconData(0xe619, fontFamily: "FxIcon"); +static const IconData icon_dream = IconData(0xe600, fontFamily: "FxIcon"); +static const IconData dashboard = IconData(0xe7dd, fontFamily: "FxIcon"); +static const IconData fill_shoushi = IconData(0xe69f, fontFamily: "FxIcon"); + +} diff --git a/packages/anima/.gitignore b/packages/anima/.gitignore new file mode 100644 index 0000000..ac5aa98 --- /dev/null +++ b/packages/anima/.gitignore @@ -0,0 +1,29 @@ +# Miscellaneous +*.class +*.log +*.pyc +*.swp +.DS_Store +.atom/ +.buildlog/ +.history +.svn/ +migrate_working_dir/ + +# IntelliJ related +*.iml +*.ipr +*.iws +.idea/ + +# The .vscode folder contains launch configuration and tasks you configure in +# VS Code which you may wish to be included in version control, so this line +# is commented out by default. +#.vscode/ + +# Flutter/Dart/Pub related +# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock. +/pubspec.lock +**/doc/api/ +.dart_tool/ +build/ diff --git a/packages/anima/.metadata b/packages/anima/.metadata new file mode 100644 index 0000000..bde98a9 --- /dev/null +++ b/packages/anima/.metadata @@ -0,0 +1,10 @@ +# This file tracks properties of this Flutter project. +# Used by Flutter tool to assess capabilities and perform upgrades etc. +# +# This file should be version controlled and should not be manually edited. + +version: + revision: "b0366e0a3f089e15fd89c97604ab402fe26b724c" + channel: "stable" + +project_type: package diff --git a/packages/anima/CHANGELOG.md b/packages/anima/CHANGELOG.md new file mode 100644 index 0000000..41cc7d8 --- /dev/null +++ b/packages/anima/CHANGELOG.md @@ -0,0 +1,3 @@ +## 0.0.1 + +* TODO: Describe initial release. diff --git a/packages/anima/LICENSE b/packages/anima/LICENSE new file mode 100644 index 0000000..ba75c69 --- /dev/null +++ b/packages/anima/LICENSE @@ -0,0 +1 @@ +TODO: Add your license here. diff --git a/packages/anima/README.md b/packages/anima/README.md new file mode 100644 index 0000000..02fe8ec --- /dev/null +++ b/packages/anima/README.md @@ -0,0 +1,39 @@ + + +TODO: Put a short description of the package here that helps potential users +know whether this package might be useful for them. + +## Features + +TODO: List what your package can do. Maybe include images, gifs, or videos. + +## Getting started + +TODO: List prerequisites and provide or point to information on how to +start using the package. + +## Usage + +TODO: Include short and useful examples for package users. Add longer examples +to `/example` folder. + +```dart +const like = 'sample'; +``` + +## Additional information + +TODO: Tell users more about the package: where to find more information, how to +contribute to the package, how to file issues, what response they can expect +from the package authors, and more. diff --git a/packages/anima/analysis_options.yaml b/packages/anima/analysis_options.yaml new file mode 100644 index 0000000..a5744c1 --- /dev/null +++ b/packages/anima/analysis_options.yaml @@ -0,0 +1,4 @@ +include: package:flutter_lints/flutter.yaml + +# Additional information about this file can be found at +# https://dart.dev/guides/language/analysis-options diff --git a/packages/anima/lib/anima.dart b/packages/anima/lib/anima.dart new file mode 100644 index 0000000..bb1829b --- /dev/null +++ b/packages/anima/lib/anima.dart @@ -0,0 +1,7 @@ +library anima; + +/// A Calculator. +class Calculator { + /// Returns [value] plus 1. + int addOne(int value) => value + 1; +} diff --git a/packages/anima/pubspec.yaml b/packages/anima/pubspec.yaml new file mode 100644 index 0000000..5a19f8b --- /dev/null +++ b/packages/anima/pubspec.yaml @@ -0,0 +1,54 @@ +name: anima +description: "A new Flutter package project." +version: 0.0.1 +homepage: + +environment: + sdk: '>=3.2.3 <4.0.0' + flutter: ">=1.17.0" + +dependencies: + flutter: + sdk: flutter + +dev_dependencies: + flutter_test: + sdk: flutter + flutter_lints: ^2.0.0 + +# For information on the generic Dart part of this file, see the +# following page: https://dart.dev/tools/pub/pubspec + +# The following section is specific to Flutter packages. +flutter: + + # To add assets to your package, add an assets section, like this: + # assets: + # - images/a_dot_burr.jpeg + # - images/a_dot_ham.jpeg + # + # For details regarding assets in packages, see + # https://flutter.dev/assets-and-images/#from-packages + # + # An image asset can refer to one or more resolution-specific "variants", see + # https://flutter.dev/assets-and-images/#resolution-aware + + # To add custom fonts to your package, add a fonts section here, + # in this "flutter" section. Each entry in this list should have a + # "family" key with the font family name, and a "fonts" key with a + # list giving the asset and other descriptors for the font. For + # example: + # fonts: + # - family: Schyler + # fonts: + # - asset: fonts/Schyler-Regular.ttf + # - asset: fonts/Schyler-Italic.ttf + # style: italic + # - family: Trajan Pro + # fonts: + # - asset: fonts/TrajanPro.ttf + # - asset: fonts/TrajanPro_Bold.ttf + # weight: 700 + # + # For details regarding fonts in packages, see + # https://flutter.dev/custom-fonts/#from-packages diff --git a/packages/anima/test/anima_test.dart b/packages/anima/test/anima_test.dart new file mode 100644 index 0000000..bbde5e9 --- /dev/null +++ b/packages/anima/test/anima_test.dart @@ -0,0 +1,12 @@ +import 'package:flutter_test/flutter_test.dart'; + +import 'package:anima/anima.dart'; + +void main() { + test('adds one to input values', () { + final calculator = Calculator(); + expect(calculator.addOne(2), 3); + expect(calculator.addOne(-7), -6); + expect(calculator.addOne(0), 1); + }); +} diff --git a/packages/components/.gitignore b/packages/components/.gitignore new file mode 100644 index 0000000..ac5aa98 --- /dev/null +++ b/packages/components/.gitignore @@ -0,0 +1,29 @@ +# Miscellaneous +*.class +*.log +*.pyc +*.swp +.DS_Store +.atom/ +.buildlog/ +.history +.svn/ +migrate_working_dir/ + +# IntelliJ related +*.iml +*.ipr +*.iws +.idea/ + +# The .vscode folder contains launch configuration and tasks you configure in +# VS Code which you may wish to be included in version control, so this line +# is commented out by default. +#.vscode/ + +# Flutter/Dart/Pub related +# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock. +/pubspec.lock +**/doc/api/ +.dart_tool/ +build/ diff --git a/packages/components/.metadata b/packages/components/.metadata new file mode 100644 index 0000000..bde98a9 --- /dev/null +++ b/packages/components/.metadata @@ -0,0 +1,10 @@ +# This file tracks properties of this Flutter project. +# Used by Flutter tool to assess capabilities and perform upgrades etc. +# +# This file should be version controlled and should not be manually edited. + +version: + revision: "b0366e0a3f089e15fd89c97604ab402fe26b724c" + channel: "stable" + +project_type: package diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md new file mode 100644 index 0000000..41cc7d8 --- /dev/null +++ b/packages/components/CHANGELOG.md @@ -0,0 +1,3 @@ +## 0.0.1 + +* TODO: Describe initial release. diff --git a/packages/components/LICENSE b/packages/components/LICENSE new file mode 100644 index 0000000..ba75c69 --- /dev/null +++ b/packages/components/LICENSE @@ -0,0 +1 @@ +TODO: Add your license here. diff --git a/packages/components/README.md b/packages/components/README.md new file mode 100644 index 0000000..02fe8ec --- /dev/null +++ b/packages/components/README.md @@ -0,0 +1,39 @@ + + +TODO: Put a short description of the package here that helps potential users +know whether this package might be useful for them. + +## Features + +TODO: List what your package can do. Maybe include images, gifs, or videos. + +## Getting started + +TODO: List prerequisites and provide or point to information on how to +start using the package. + +## Usage + +TODO: Include short and useful examples for package users. Add longer examples +to `/example` folder. + +```dart +const like = 'sample'; +``` + +## Additional information + +TODO: Tell users more about the package: where to find more information, how to +contribute to the package, how to file issues, what response they can expect +from the package authors, and more. diff --git a/packages/components/analysis_options.yaml b/packages/components/analysis_options.yaml new file mode 100644 index 0000000..a5744c1 --- /dev/null +++ b/packages/components/analysis_options.yaml @@ -0,0 +1,4 @@ +include: package:flutter_lints/flutter.yaml + +# Additional information about this file can be found at +# https://dart.dev/guides/language/analysis-options diff --git a/packages/components/pubspec.yaml b/packages/components/pubspec.yaml new file mode 100644 index 0000000..07ce74d --- /dev/null +++ b/packages/components/pubspec.yaml @@ -0,0 +1,55 @@ +name: components +description: "A new Flutter package project." +version: 0.0.1 +homepage: + +environment: + sdk: '>=3.1.0 <4.0.0' + flutter: ">=1.17.0" + +dependencies: + flutter: + sdk: flutter + window_manager: ^0.3.7 + go_router: ^12.1.1 +dev_dependencies: + flutter_test: + sdk: flutter + flutter_lints: ^2.0.0 + +# For information on the generic Dart part of this file, see the +# following page: https://dart.dev/tools/pub/pubspec + +# The following section is specific to Flutter packages. +flutter: + + # To add assets to your package, add an assets section, like this: + # assets: + # - images/a_dot_burr.jpeg + # - images/a_dot_ham.jpeg + # + # For details regarding assets in packages, see + # https://flutter.dev/assets-and-images/#from-packages + # + # An image asset can refer to one or more resolution-specific "variants", see + # https://flutter.dev/assets-and-images/#resolution-aware + + # To add custom fonts to your package, add a fonts section here, + # in this "flutter" section. Each entry in this list should have a + # "family" key with the font family name, and a "fonts" key with a + # list giving the asset and other descriptors for the font. For + # example: + # fonts: + # - family: Schyler + # fonts: + # - asset: fonts/Schyler-Regular.ttf + # - asset: fonts/Schyler-Italic.ttf + # style: italic + # - family: Trajan Pro + # fonts: + # - asset: fonts/TrajanPro.ttf + # - asset: fonts/TrajanPro_Bold.ttf + # weight: 700 + # + # For details regarding fonts in packages, see + # https://flutter.dev/custom-fonts/#from-packages diff --git a/packages/components/test/components_test.dart b/packages/components/test/components_test.dart new file mode 100644 index 0000000..ada8e41 --- /dev/null +++ b/packages/components/test/components_test.dart @@ -0,0 +1,12 @@ +// import 'package:flutter_test/flutter_test.dart'; +// +// import 'package:components/components.dart'; +// +// void main() { +// test('adds one to input values', () { +// final calculator = Calculator(); +// expect(calculator.addOne(2), 3); +// expect(calculator.addOne(-7), -6); +// expect(calculator.addOne(0), 1); +// }); +// } diff --git a/packages/idraw/.gitignore b/packages/idraw/.gitignore new file mode 100644 index 0000000..ac5aa98 --- /dev/null +++ b/packages/idraw/.gitignore @@ -0,0 +1,29 @@ +# Miscellaneous +*.class +*.log +*.pyc +*.swp +.DS_Store +.atom/ +.buildlog/ +.history +.svn/ +migrate_working_dir/ + +# IntelliJ related +*.iml +*.ipr +*.iws +.idea/ + +# The .vscode folder contains launch configuration and tasks you configure in +# VS Code which you may wish to be included in version control, so this line +# is commented out by default. +#.vscode/ + +# Flutter/Dart/Pub related +# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock. +/pubspec.lock +**/doc/api/ +.dart_tool/ +build/ diff --git a/packages/idraw/.metadata b/packages/idraw/.metadata new file mode 100644 index 0000000..bde98a9 --- /dev/null +++ b/packages/idraw/.metadata @@ -0,0 +1,10 @@ +# This file tracks properties of this Flutter project. +# Used by Flutter tool to assess capabilities and perform upgrades etc. +# +# This file should be version controlled and should not be manually edited. + +version: + revision: "b0366e0a3f089e15fd89c97604ab402fe26b724c" + channel: "stable" + +project_type: package diff --git a/packages/idraw/CHANGELOG.md b/packages/idraw/CHANGELOG.md new file mode 100644 index 0000000..41cc7d8 --- /dev/null +++ b/packages/idraw/CHANGELOG.md @@ -0,0 +1,3 @@ +## 0.0.1 + +* TODO: Describe initial release. diff --git a/packages/idraw/LICENSE b/packages/idraw/LICENSE new file mode 100644 index 0000000..ba75c69 --- /dev/null +++ b/packages/idraw/LICENSE @@ -0,0 +1 @@ +TODO: Add your license here. diff --git a/packages/idraw/README.md b/packages/idraw/README.md new file mode 100644 index 0000000..02fe8ec --- /dev/null +++ b/packages/idraw/README.md @@ -0,0 +1,39 @@ + + +TODO: Put a short description of the package here that helps potential users +know whether this package might be useful for them. + +## Features + +TODO: List what your package can do. Maybe include images, gifs, or videos. + +## Getting started + +TODO: List prerequisites and provide or point to information on how to +start using the package. + +## Usage + +TODO: Include short and useful examples for package users. Add longer examples +to `/example` folder. + +```dart +const like = 'sample'; +``` + +## Additional information + +TODO: Tell users more about the package: where to find more information, how to +contribute to the package, how to file issues, what response they can expect +from the package authors, and more. diff --git a/packages/idraw/analysis_options.yaml b/packages/idraw/analysis_options.yaml new file mode 100644 index 0000000..a5744c1 --- /dev/null +++ b/packages/idraw/analysis_options.yaml @@ -0,0 +1,4 @@ +include: package:flutter_lints/flutter.yaml + +# Additional information about this file can be found at +# https://dart.dev/guides/language/analysis-options diff --git a/packages/idraw/lib/idraw.dart b/packages/idraw/lib/idraw.dart new file mode 100644 index 0000000..2422f56 --- /dev/null +++ b/packages/idraw/lib/idraw.dart @@ -0,0 +1,13 @@ +library idraw; + +export 'p01/p01.dart'; +export 'p02/p02.dart'; +export 'p03/p03.dart'; +export 'p04/p04.dart'; +export 'p05/p05.dart'; +export 'p06/p06.dart'; +export 'p07/p07.dart'; +export 'p08/p08.dart'; +export 'p09/p09.dart'; +export 'p10/p10.dart'; +export 'p11/p11.dart'; diff --git a/packages/idraw/pubspec.yaml b/packages/idraw/pubspec.yaml new file mode 100644 index 0000000..3d2b1c8 --- /dev/null +++ b/packages/idraw/pubspec.yaml @@ -0,0 +1,56 @@ +name: idraw +description: "A new Flutter package project." +version: 0.0.1 +homepage: + +environment: + sdk: '>=3.1.0 <4.0.0' + flutter: ">=1.17.0" + +dependencies: + flutter: + sdk: flutter + image: ^4.1.3 + components: + path: ../components +dev_dependencies: + flutter_test: + sdk: flutter + flutter_lints: ^2.0.0 + +# For information on the generic Dart part of this file, see the +# following page: https://dart.dev/tools/pub/pubspec + +# The following section is specific to Flutter packages. +flutter: + + # To add assets to your package, add an assets section, like this: + # assets: + # - images/a_dot_burr.jpeg + # - images/a_dot_ham.jpeg + # + # For details regarding assets in packages, see + # https://flutter.dev/assets-and-images/#from-packages + # + # An image asset can refer to one or more resolution-specific "variants", see + # https://flutter.dev/assets-and-images/#resolution-aware + + # To add custom fonts to your package, add a fonts section here, + # in this "flutter" section. Each entry in this list should have a + # "family" key with the font family name, and a "fonts" key with a + # list giving the asset and other descriptors for the font. For + # example: + # fonts: + # - family: Schyler + # fonts: + # - asset: fonts/Schyler-Regular.ttf + # - asset: fonts/Schyler-Italic.ttf + # style: italic + # - family: Trajan Pro + # fonts: + # - asset: fonts/TrajanPro.ttf + # - asset: fonts/TrajanPro_Bold.ttf + # weight: 700 + # + # For details regarding fonts in packages, see + # https://flutter.dev/custom-fonts/#from-packages