├── .gitattributes
├── .gitignore
├── CHANGELOG.md
├── LICENSE
├── README.md
├── analysis_options.yaml
├── example
├── .gitattributes
├── .gitignore
├── README.md
├── analysis_options.yaml
├── android
│ ├── .gitignore
│ ├── app
│ │ ├── build.gradle.kts
│ │ └── src
│ │ │ ├── debug
│ │ │ └── AndroidManifest.xml
│ │ │ ├── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── kotlin
│ │ │ │ └── com
│ │ │ │ │ └── waya
│ │ │ │ │ └── example
│ │ │ │ │ └── MainActivity.kt
│ │ │ └── res
│ │ │ │ ├── drawable-v21
│ │ │ │ └── launch_background.xml
│ │ │ │ ├── drawable
│ │ │ │ └── launch_background.xml
│ │ │ │ ├── mipmap-hdpi
│ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-mdpi
│ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-xhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ │ ├── values-night
│ │ │ │ └── styles.xml
│ │ │ │ └── values
│ │ │ │ └── styles.xml
│ │ │ └── profile
│ │ │ └── AndroidManifest.xml
│ ├── build.gradle.kts
│ ├── gradle.properties
│ ├── gradle
│ │ └── wrapper
│ │ │ └── gradle-wrapper.properties
│ └── settings.gradle.kts
├── app
│ └── web
│ │ ├── .last_build_id
│ │ ├── assets
│ │ ├── AssetManifest.bin
│ │ ├── AssetManifest.bin.json
│ │ ├── AssetManifest.json
│ │ ├── FontManifest.json
│ │ ├── NOTICES
│ │ ├── fonts
│ │ │ └── MaterialIcons-Regular.otf
│ │ ├── packages
│ │ │ └── fl_extended
│ │ │ │ └── assets
│ │ │ │ └── FlExtendedIcons.ttf
│ │ └── shaders
│ │ │ └── ink_sparkle.frag
│ │ ├── canvaskit
│ │ ├── canvaskit.js
│ │ ├── canvaskit.js.symbols
│ │ ├── canvaskit.wasm
│ │ ├── chromium
│ │ │ ├── canvaskit.js
│ │ │ ├── canvaskit.js.symbols
│ │ │ └── canvaskit.wasm
│ │ ├── skwasm.js
│ │ ├── skwasm.js.symbols
│ │ ├── skwasm.wasm
│ │ ├── skwasm_st.js
│ │ ├── skwasm_st.js.symbols
│ │ └── skwasm_st.wasm
│ │ ├── favicon.png
│ │ ├── flutter.js
│ │ ├── flutter_bootstrap.js
│ │ ├── flutter_service_worker.js
│ │ ├── icons
│ │ ├── Icon-192.png
│ │ ├── Icon-512.png
│ │ ├── Icon-maskable-192.png
│ │ └── Icon-maskable-512.png
│ │ ├── index.html
│ │ ├── main.dart.js
│ │ ├── manifest.json
│ │ └── version.json
├── build_web.sh
├── ios
│ ├── .gitignore
│ ├── Flutter
│ │ ├── AppFrameworkInfo.plist
│ │ ├── Debug.xcconfig
│ │ └── Release.xcconfig
│ ├── Podfile
│ ├── Runner.xcodeproj
│ │ ├── project.pbxproj
│ │ └── xcshareddata
│ │ │ └── xcschemes
│ │ │ └── Runner.xcscheme
│ ├── Runner.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ ├── IDEWorkspaceChecks.plist
│ │ │ └── WorkspaceSettings.xcsettings
│ ├── Runner
│ │ ├── AppDelegate.swift
│ │ ├── Assets.xcassets
│ │ │ ├── AppIcon.appiconset
│ │ │ │ ├── Contents.json
│ │ │ │ ├── Icon-App-1024x1024@1x.png
│ │ │ │ ├── Icon-App-20x20@1x.png
│ │ │ │ ├── Icon-App-20x20@2x.png
│ │ │ │ ├── Icon-App-20x20@3x.png
│ │ │ │ ├── Icon-App-29x29@1x.png
│ │ │ │ ├── Icon-App-29x29@2x.png
│ │ │ │ ├── Icon-App-29x29@3x.png
│ │ │ │ ├── Icon-App-40x40@1x.png
│ │ │ │ ├── Icon-App-40x40@2x.png
│ │ │ │ ├── Icon-App-40x40@3x.png
│ │ │ │ ├── Icon-App-60x60@2x.png
│ │ │ │ ├── Icon-App-60x60@3x.png
│ │ │ │ ├── Icon-App-76x76@1x.png
│ │ │ │ ├── Icon-App-76x76@2x.png
│ │ │ │ └── Icon-App-83.5x83.5@2x.png
│ │ │ └── LaunchImage.imageset
│ │ │ │ ├── Contents.json
│ │ │ │ ├── LaunchImage.png
│ │ │ │ ├── LaunchImage@2x.png
│ │ │ │ ├── LaunchImage@3x.png
│ │ │ │ └── README.md
│ │ ├── Base.lproj
│ │ │ ├── LaunchScreen.storyboard
│ │ │ └── Main.storyboard
│ │ ├── Info.plist
│ │ └── Runner-Bridging-Header.h
│ └── RunnerTests
│ │ └── RunnerTests.swift
├── lib
│ ├── main.dart
│ └── module
│ │ ├── auto_collapsing.dart
│ │ ├── button_page.dart
│ │ ├── components_page.dart
│ │ ├── counter_page.dart
│ │ ├── decorator_page.dart
│ │ ├── flip_card_page.dart
│ │ ├── page_view_page.dart
│ │ ├── progress_page.dart
│ │ ├── state_components_page.dart
│ │ └── text_field_page.dart
├── macos
│ ├── .gitignore
│ ├── Flutter
│ │ ├── Flutter-Debug.xcconfig
│ │ ├── Flutter-Release.xcconfig
│ │ └── GeneratedPluginRegistrant.swift
│ ├── Podfile
│ ├── Runner.xcodeproj
│ │ ├── project.pbxproj
│ │ ├── project.xcworkspace
│ │ │ └── xcshareddata
│ │ │ │ └── IDEWorkspaceChecks.plist
│ │ └── xcshareddata
│ │ │ └── xcschemes
│ │ │ └── Runner.xcscheme
│ ├── Runner.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ └── IDEWorkspaceChecks.plist
│ ├── Runner
│ │ ├── AppDelegate.swift
│ │ ├── Assets.xcassets
│ │ │ └── AppIcon.appiconset
│ │ │ │ ├── Contents.json
│ │ │ │ ├── app_icon_1024.png
│ │ │ │ ├── app_icon_128.png
│ │ │ │ ├── app_icon_16.png
│ │ │ │ ├── app_icon_256.png
│ │ │ │ ├── app_icon_32.png
│ │ │ │ ├── app_icon_512.png
│ │ │ │ └── app_icon_64.png
│ │ ├── Base.lproj
│ │ │ └── MainMenu.xib
│ │ ├── Configs
│ │ │ ├── AppInfo.xcconfig
│ │ │ ├── Debug.xcconfig
│ │ │ ├── Release.xcconfig
│ │ │ └── Warnings.xcconfig
│ │ ├── DebugProfile.entitlements
│ │ ├── Info.plist
│ │ ├── MainFlutterWindow.swift
│ │ └── Release.entitlements
│ └── RunnerTests
│ │ └── RunnerTests.swift
├── pubspec.yaml
└── web
│ ├── favicon.png
│ ├── icons
│ ├── Icon-192.png
│ ├── Icon-512.png
│ ├── Icon-maskable-192.png
│ └── Icon-maskable-512.png
│ ├── index.html
│ └── manifest.json
├── format.sh
├── lib
├── flutter_waya.dart
└── src
│ ├── animation
│ ├── animation_counter.dart
│ ├── auto_collapsing.dart
│ ├── bubble_button.dart
│ ├── elastic_builder.dart
│ ├── expansion_tiles.dart
│ ├── popup_menu.dart
│ ├── toggle_rotate.dart
│ └── wave.dart
│ ├── const
│ └── styles.dart
│ ├── counter.dart
│ ├── dotted_line.dart
│ ├── draggable_scrollbar.dart
│ ├── editable_text
│ ├── decorator_box.dart
│ ├── pin_text_field.dart
│ └── text_field.dart
│ ├── event.dart
│ ├── extended_state.dart
│ ├── flip_card.dart
│ ├── keep_alive_wrapper.dart
│ ├── list_entry.dart
│ ├── page_view
│ ├── indicator.dart
│ ├── page_view.dart
│ └── transform.dart
│ ├── progress
│ ├── liquid_progress.dart
│ └── progress.dart
│ ├── rating_stars.dart
│ ├── screen_adaptation.dart
│ ├── shimmery.dart
│ ├── system_ui_overlay_style.dart
│ ├── tab_bar.dart
│ ├── wrapper.dart
│ └── x_switch.dart
└── pubspec.yaml
/.gitattributes:
--------------------------------------------------------------------------------
1 | *.h linguist-language=Dart
2 | *.m linguist-language=Dart
3 | *.html linguist-language=Dart
4 | *.xml linguist-language=Dart
5 | *.xml linguist-language=Dart
6 | *.java linguist-language=Dart
7 | *.json linguist-language=Dart
8 | *.wasm linguist-language=Dart
9 | *.js linguist-language=Dart
10 | *.md linguist-language=Dart
11 | *.cmd linguist-language=Dart
12 | *.swift linguist-language=Dart
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Miscellaneous
2 | *.class
3 | *.log
4 | *.pyc
5 | *.swp
6 | .DS_Store
7 | .atom/
8 | .buildlog/
9 | .history
10 | .svn/
11 |
12 | # IntelliJ related
13 | *.iml
14 | *.ipr
15 | *.iws
16 | .idea/
17 |
18 | # The .vscode folder contains launch configuration and tasks you configure in
19 | # VS Code which you may wish to be included in version control, so this line
20 | # is commented out by default.
21 | #.vscode/
22 |
23 | # Flutter/Dart/Pub related
24 | **/doc/api/
25 | .dart_tool/
26 | .flutter-plugins
27 | .flutter-plugins-dependencies
28 | .packages
29 | .pub-cache/
30 | .pub/
31 | /build/
32 | /lib/generated
33 | *.lock
34 |
35 | # Web related
36 | lib/generated_plugin_registrant.dart
37 |
38 | # Exceptions to above rules.
39 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
40 |
--------------------------------------------------------------------------------
/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | ## 11.2.5
2 |
3 | * Fix `FlPageViewController` scrolling error
4 |
5 | ## 11.2.3
6 |
7 | * Remove `DecoratorPendantVisibilityMode` from `DecoratorPendant`, please use `needEditing`,
8 | `needValue` and `needFocus`
9 | * To remove `BoxDecorative` from `DecoratorBox`, please use the `decoration` callback method
10 | * `DecoratorBox` changes `hasFocus` to `onFocus`, `isEditing` to onEditing, and adds `onValue` and
11 | `listenable`
12 | * Remove `DecoratorBoxState`,please use `DecoratorBox`
13 |
14 | ## 11.0.2
15 |
16 | * Removed `CheckBox`, `FlBadge`,`FlPopupMenuButton`,`FlSwiper`, `FlSwiperPagination`,
17 | `FlSwiperIndicator`,
18 | * Removed `CarouselSlider`,added `FlPageViewTransform`,`FlPageView`
19 |
20 | ## 10.0.1
21 |
22 | * `AutomaticKeepAliveWrapperState` renamed to `AutomaticKeepAliveClientMixinState`
23 | * `AutomaticKeepAliveWrapper` renamed to `AutomaticKeepAliveClientWrapper`
24 |
25 | ## 10.0.0
26 |
27 | * Migrate to 3.27.0
28 |
29 | ## 9.10.1
30 |
31 | * Remove `CounterAnimation`, add `AnimationCounter.down()`、`AnimationCounter.up()`
32 | * Remove `CountDown`, add `Counter.down()`、`Counter.up()`
33 |
34 | ## 9.9.0
35 |
36 | * Changed `FlProgress` to `FlLinearProgress` and made modifications to the parameters
37 |
38 | ## 9.8.0
39 |
40 | * Add some callbacks for `CountDown()` and remove `CountDownType` enumeration
41 | * Add `onStartTiming` `onStarts` `onEnds` callback method for `CountDown()`
42 | * Change the `onTap` of `SendVerificationCode()` to `onSendTap`
43 | * Change the `onStateChanged` of `SendVerificationCode()` to `onChanged`
44 |
45 | ## 9.7.1
46 |
47 | * Modify `DecoratorEntry` to `DecoratorPendant`,and adds the `maintainSize` property to determine
48 | whether to maintain the size
49 | * Modify `DecoratorPositioned` to `DecoratorPendantPosition`
50 | * Added `BoxDecorative` to `DecoratorBox` and `DecoratorBoxState`
51 | * Modify `.toDecoratorEntry()` to `.toDecoratorPendant()`
52 | * Remove the `needKeyBoard` and `focusNode` from `PINTextField`
53 | * Change the `controller` of `PINTextField` to mandatory
54 | * Hide `contextMenuBuilder` and `enableInteractiveSelection` for `PINTextField`
55 | * Modify some parameters of `ExpansionTiles` `PopupMenuButtonRotateBuilder` `ToggleRotate`, please
56 | refer to Example
57 |
58 | ## 9.6.0
59 |
60 | * Remove the `DropdownMenusButton` component, please use the `MultiPopupMenuButton` component
61 | * Remove the `DropdownMenuButton` component, please use the `PopupMenuButtonRotateBuilder` component
62 |
63 | ## 9.5.2
64 |
65 | * export `SystemUiOverlayStyleLight`、`SystemUiOverlayStyleDark`
66 |
67 | ## 9.5.1
68 |
69 | * Removed `fl_extended`
70 |
71 | ## 9.3.1
72 |
73 | * Change the `SendSMS` to `SendVerificationCode`
74 | * Change the `PinBox` to `PINTextField`
75 | * Change the `PinTextFieldBuilderConfig` to `PINTextFieldBuilderConfig`
76 |
77 | ## 9.1.4
78 |
79 | * Removed `AnchorScrollBuilder`
80 | * Add `Shimmery`
81 |
82 | ## 9.1.3
83 |
84 | * Add `FlipCardController` to `FlipCard()`
85 |
86 | ## 9.1.2
87 |
88 | * Fixed conflicts between `DropdownMenusButton` and official packages
89 |
90 | ## 9.1.1
91 |
92 | * Refactor the `DropdownMenuButton` and `DropdownMenusButton`
93 |
94 | ## 9.0.1
95 |
96 | * Split core extension to [fl_extended](https://pub.dev/packages/fl_extended) package
97 | * Modify all `GlobalWayUI()` to `FlExtended()`
98 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2024 Wayaer
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # flutter_waya
2 |
3 | ## 运行[Example](https://wayaer.github.io/flutter_waya/example/app/web/index.html#/)查看UI组件
--------------------------------------------------------------------------------
/analysis_options.yaml:
--------------------------------------------------------------------------------
1 | include: package:flutter_lints/flutter.yaml
--------------------------------------------------------------------------------
/example/.gitattributes:
--------------------------------------------------------------------------------
1 | *.h linguist-language=Dart
2 | *.m linguist-language=Dart
3 | *.html linguist-language=Dart
4 | *.xml linguist-language=Dart
5 | *.xml linguist-language=Dart
6 | *.java linguist-language=Dart
7 | *.json linguist-language=Dart
8 | *.wasm linguist-language=Dart
9 | *.js linguist-language=Dart
10 | *.md linguist-language=Dart
11 | *.cmd linguist-language=Dart
12 | *.swift linguist-language=Dart
--------------------------------------------------------------------------------
/example/.gitignore:
--------------------------------------------------------------------------------
1 | # Miscellaneous
2 | *.class
3 | *.log
4 | *.pyc
5 | *.swp
6 | *.lock
7 | .DS_Store
8 | .atom/
9 | .buildlog/
10 | .history
11 | .svn/
12 | # IntelliJ related
13 | *.iml
14 | *.ipr
15 | *.iws
16 | .idea/
17 |
18 | # The .vscode folder contains launch configuration and tasks you configure in
19 | # VS Code which you may wish to be included in version control, so this line
20 | # is commented out by default.
21 | #.vscode/
22 |
23 | # Flutter/Dart/Pub related
24 | **/doc/api/
25 | .dart_tool/
26 | .flutter-plugins
27 | .flutter-plugins-dependencies
28 | .packages
29 | .pub-cache/
30 | .pub/
31 | /build/
32 | .metadata
33 |
34 | # Web related
35 |
36 | # Exceptions to above rules.
37 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
38 |
--------------------------------------------------------------------------------
/example/README.md:
--------------------------------------------------------------------------------
1 | # example
--------------------------------------------------------------------------------
/example/analysis_options.yaml:
--------------------------------------------------------------------------------
1 | include: package:flutter_lints/flutter.yaml
--------------------------------------------------------------------------------
/example/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 | .cxx/
9 |
10 | # Remember to never publicly share your keystore.
11 | # See https://flutter.dev/to/reference-keystore
12 | key.properties
13 | **/*.keystore
14 | **/*.jks
15 |
--------------------------------------------------------------------------------
/example/android/app/build.gradle.kts:
--------------------------------------------------------------------------------
1 | plugins {
2 | id("com.android.application")
3 | id("kotlin-android")
4 | // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
5 | id("dev.flutter.flutter-gradle-plugin")
6 | }
7 |
8 | android {
9 | namespace = "com.waya.example"
10 | compileSdk = flutter.compileSdkVersion
11 | ndkVersion = flutter.ndkVersion
12 |
13 | compileOptions {
14 | sourceCompatibility = JavaVersion.VERSION_11
15 | targetCompatibility = JavaVersion.VERSION_11
16 | }
17 |
18 | kotlinOptions {
19 | jvmTarget = JavaVersion.VERSION_11.toString()
20 | }
21 |
22 | defaultConfig {
23 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
24 | applicationId = "com.waya.example"
25 | // You can update the following values to match your application needs.
26 | // For more information, see: https://flutter.dev/to/review-gradle-config.
27 | minSdk = flutter.minSdkVersion
28 | targetSdk = flutter.targetSdkVersion
29 | versionCode = flutter.versionCode
30 | versionName = flutter.versionName
31 | }
32 |
33 | buildTypes {
34 | release {
35 | // TODO: Add your own signing config for the release build.
36 | // Signing with the debug keys for now, so `flutter run --release` works.
37 | signingConfig = signingConfigs.getByName("debug")
38 | }
39 | }
40 | }
41 |
42 | flutter {
43 | source = "../.."
44 | }
45 |
--------------------------------------------------------------------------------
/example/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/example/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
15 |
19 |
23 |
24 |
25 |
26 |
27 |
28 |
30 |
33 |
34 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/example/android/app/src/main/kotlin/com/waya/example/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.waya.example
2 |
3 | import io.flutter.embedding.android.FlutterActivity
4 |
5 | class MainActivity : FlutterActivity()
6 |
--------------------------------------------------------------------------------
/example/android/app/src/main/res/drawable-v21/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/example/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wayaer/flutter_waya/cb7cbf517dc8f6cf9891eb10f261353438622f0c/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wayaer/flutter_waya/cb7cbf517dc8f6cf9891eb10f261353438622f0c/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wayaer/flutter_waya/cb7cbf517dc8f6cf9891eb10f261353438622f0c/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wayaer/flutter_waya/cb7cbf517dc8f6cf9891eb10f261353438622f0c/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wayaer/flutter_waya/cb7cbf517dc8f6cf9891eb10f261353438622f0c/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/example/android/app/src/main/res/values-night/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/example/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/example/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/example/android/build.gradle.kts:
--------------------------------------------------------------------------------
1 | allprojects {
2 | repositories {
3 | google()
4 | mavenCentral()
5 | }
6 | }
7 |
8 | val newBuildDir: Directory = rootProject.layout.buildDirectory.dir("../../build").get()
9 | rootProject.layout.buildDirectory.value(newBuildDir)
10 |
11 | subprojects {
12 | val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name)
13 | project.layout.buildDirectory.value(newSubprojectBuildDir)
14 | }
15 | subprojects {
16 | project.evaluationDependsOn(":app")
17 | }
18 |
19 | tasks.register("clean") {
20 | delete(rootProject.layout.buildDirectory)
21 | }
22 |
--------------------------------------------------------------------------------
/example/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m -XX:+HeapDumpOnOutOfMemoryError
2 | android.useAndroidX=true
3 | android.enableJetifier=true
4 |
--------------------------------------------------------------------------------
/example/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | zipStoreBase=GRADLE_USER_HOME
4 | zipStorePath=wrapper/dists
5 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
6 |
--------------------------------------------------------------------------------
/example/android/settings.gradle.kts:
--------------------------------------------------------------------------------
1 | pluginManagement {
2 | val flutterSdkPath = run {
3 | val properties = java.util.Properties()
4 | file("local.properties").inputStream().use { properties.load(it) }
5 | val flutterSdkPath = properties.getProperty("flutter.sdk")
6 | require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" }
7 | flutterSdkPath
8 | }
9 |
10 | includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
11 |
12 | repositories {
13 | google()
14 | mavenCentral()
15 | gradlePluginPortal()
16 | }
17 | }
18 |
19 | plugins {
20 | id("dev.flutter.flutter-plugin-loader") version "1.0.0"
21 | id("com.android.application") version "8.7.0" apply false
22 | id("org.jetbrains.kotlin.android") version "1.8.22" apply false
23 | }
24 |
25 | include(":app")
26 |
--------------------------------------------------------------------------------
/example/app/web/.last_build_id:
--------------------------------------------------------------------------------
1 | 004f321dbdf51c5c86195542b683b1c3
--------------------------------------------------------------------------------
/example/app/web/assets/AssetManifest.bin:
--------------------------------------------------------------------------------
1 |
/packages/fl_extended/assets/FlExtendedIcons.ttf
asset/packages/fl_extended/assets/FlExtendedIcons.ttf
--------------------------------------------------------------------------------
/example/app/web/assets/AssetManifest.bin.json:
--------------------------------------------------------------------------------
1 | "DQEHL3BhY2thZ2VzL2ZsX2V4dGVuZGVkL2Fzc2V0cy9GbEV4dGVuZGVkSWNvbnMudHRmDAENAQcFYXNzZXQHL3BhY2thZ2VzL2ZsX2V4dGVuZGVkL2Fzc2V0cy9GbEV4dGVuZGVkSWNvbnMudHRm"
--------------------------------------------------------------------------------
/example/app/web/assets/AssetManifest.json:
--------------------------------------------------------------------------------
1 | {"packages/fl_extended/assets/FlExtendedIcons.ttf":["packages/fl_extended/assets/FlExtendedIcons.ttf"]}
--------------------------------------------------------------------------------
/example/app/web/assets/FontManifest.json:
--------------------------------------------------------------------------------
1 | [{"family":"MaterialIcons","fonts":[{"asset":"fonts/MaterialIcons-Regular.otf"}]},{"family":"packages/fl_extended/FlExtendedIcons","fonts":[{"asset":"packages/fl_extended/assets/FlExtendedIcons.ttf"}]}]
--------------------------------------------------------------------------------
/example/app/web/assets/fonts/MaterialIcons-Regular.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wayaer/flutter_waya/cb7cbf517dc8f6cf9891eb10f261353438622f0c/example/app/web/assets/fonts/MaterialIcons-Regular.otf
--------------------------------------------------------------------------------
/example/app/web/assets/packages/fl_extended/assets/FlExtendedIcons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wayaer/flutter_waya/cb7cbf517dc8f6cf9891eb10f261353438622f0c/example/app/web/assets/packages/fl_extended/assets/FlExtendedIcons.ttf
--------------------------------------------------------------------------------
/example/app/web/canvaskit/canvaskit.wasm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wayaer/flutter_waya/cb7cbf517dc8f6cf9891eb10f261353438622f0c/example/app/web/canvaskit/canvaskit.wasm
--------------------------------------------------------------------------------
/example/app/web/canvaskit/chromium/canvaskit.wasm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wayaer/flutter_waya/cb7cbf517dc8f6cf9891eb10f261353438622f0c/example/app/web/canvaskit/chromium/canvaskit.wasm
--------------------------------------------------------------------------------
/example/app/web/canvaskit/skwasm.wasm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wayaer/flutter_waya/cb7cbf517dc8f6cf9891eb10f261353438622f0c/example/app/web/canvaskit/skwasm.wasm
--------------------------------------------------------------------------------
/example/app/web/canvaskit/skwasm_st.wasm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wayaer/flutter_waya/cb7cbf517dc8f6cf9891eb10f261353438622f0c/example/app/web/canvaskit/skwasm_st.wasm
--------------------------------------------------------------------------------
/example/app/web/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wayaer/flutter_waya/cb7cbf517dc8f6cf9891eb10f261353438622f0c/example/app/web/favicon.png
--------------------------------------------------------------------------------
/example/app/web/flutter.js:
--------------------------------------------------------------------------------
1 | (()=>{var P=()=>navigator.vendor==="Google Inc."||navigator.agent==="Edg/",E=()=>typeof ImageDecoder>"u"?!1:P(),L=()=>typeof Intl.v8BreakIterator<"u"&&typeof Intl.Segmenter<"u",W=()=>{let n=[0,97,115,109,1,0,0,0,1,5,1,95,1,120,0];return WebAssembly.validate(new Uint8Array(n))},w={hasImageCodecs:E(),hasChromiumBreakIterators:L(),supportsWasmGC:W(),crossOriginIsolated:window.crossOriginIsolated};function l(...n){return new URL(C(...n),document.baseURI).toString()}function C(...n){return n.filter(t=>!!t).map((t,i)=>i===0?_(t):j(_(t))).filter(t=>t.length).join("/")}function j(n){let t=0;for(;t0&&n.charAt(t-1)==="/";)t--;return n.substring(0,t)}function T(n,t){return n.canvasKitBaseUrl?n.canvasKitBaseUrl:t.engineRevision&&!t.useLocalCanvasKit?C("https://www.gstatic.com/flutter-canvaskit",t.engineRevision):"canvaskit"}var v=class{constructor(){this._scriptLoaded=!1}setTrustedTypesPolicy(t){this._ttPolicy=t}async loadEntrypoint(t){let{entrypointUrl:i=l("main.dart.js"),onEntrypointLoaded:r,nonce:e}=t||{};return this._loadJSEntrypoint(i,r,e)}async load(t,i,r,e,a){a??=o=>{o.initializeEngine(r).then(c=>c.runApp())};let{entryPointBaseUrl:s}=r;if(t.compileTarget==="dart2wasm")return this._loadWasmEntrypoint(t,i,s,a);{let o=t.mainJsPath??"main.dart.js",c=l(s,o);return this._loadJSEntrypoint(c,a,e)}}didCreateEngineInitializer(t){typeof this._didCreateEngineInitializerResolve=="function"&&(this._didCreateEngineInitializerResolve(t),this._didCreateEngineInitializerResolve=null,delete _flutter.loader.didCreateEngineInitializer),typeof this._onEntrypointLoaded=="function"&&this._onEntrypointLoaded(t)}_loadJSEntrypoint(t,i,r){let e=typeof i=="function";if(!this._scriptLoaded){this._scriptLoaded=!0;let a=this._createScriptTag(t,r);if(e)console.debug("Injecting
37 |