Commit Graph

1640 Commits

Author SHA1 Message Date
Calcitem e8a62bfbc6 flutter: app_theme.dart: Remove some styles 2021-04-04 18:19:34 +08:00
Calcitem 46ddc5aecd flutter: UIColor: Add cottonCandy/turkishRose/stormGrey/LavenderBlush 2021-04-04 03:16:11 +08:00
Calcitem a286447752 flutter: drawer: Change highlight item color from blue to green 2021-04-04 02:58:37 +08:00
Calcitem dc41860063 flutter: Refactor color 2021-04-04 02:11:42 +08:00
Calcitem f82b18d975 flutter: Remove appBar backgroundColor and use MaterialApp primarySwatch instead 2021-04-03 21:29:42 +08:00
Calcitem 49a7e1df8f flutter: android: Replace splash screen color to burly_wood 2021-04-03 21:08:49 +08:00
Calcitem a0884c80ca flutter: Add personalization settings page 2021-04-03 13:04:04 +08:00
Calcitem 35d79c541c flutter: Refactor 2021-04-03 11:43:02 +08:00
Calcitem a739ada7b4 flutter: Upgrade uuid to 3.0.3 2021-04-02 01:46:02 +08:00
Calcitem 232b85f290 flutter: Refactor some pages 2021-04-02 01:40:08 +08:00
Calcitem 718c2e7be0 flutter: Fix https://github.com/fluttercommunity/plus_plugins/issues/184: Null values on Android 2021-03-30 01:38:21 +08:00
Calcitem f2e8e56e80 flutter: Refactor 2021-03-30 01:25:08 +08:00
Calcitem 9f1bdeb71a flutter: game_settings_page.dart: Add showColorDialog() 2021-03-29 23:44:17 +08:00
Calcitem dd08716eab flutter: about_page.dart: Clean code 2021-03-29 22:43:42 +08:00
Calcitem e37d3fcb88 flutter: Rename widgets to children 2021-03-29 22:43:30 +08:00
Calcitem 6a8644133c Revert "flutter: Remove unused functions"
Restore

    didPush
    didPopNext
    didPushNext
    didPop
    didChangeDependencies
    buildManualPanel

to fix setoption not called.

This commit reverts 5884fa4c5f
2021-03-29 02:16:45 +08:00
Calcitem b4974d8e20 flutter: Refactor about_page.dart 2021-03-29 00:46:18 +08:00
Calcitem 329b4792d1 flutter: Add some commas 2021-03-29 00:25:20 +08:00
Calcitem ca10ce20d9 flutter: settings_page: Extract children 2021-03-29 00:11:26 +08:00
Calcitem ea4a7c5678 flutter: Clean game_settings_page.dart 2021-03-29 00:02:00 +08:00
Calcitem b7416555a1 flutter: Add class SettingsCard 2021-03-28 23:58:51 +08:00
Calcitem abcb013748 flutter: Clear null param in settings_list_tile.dart and settings_switch_list_tile.dart 2021-03-28 23:20:39 +08:00
Calcitem 1589f6e89d flutter: Add class SettingsListTile 2021-03-28 22:52:49 +08:00
Calcitem fd8d9fe861 flutter: Add class SettingsSwitchListTile 2021-03-28 13:24:17 +08:00
Calcitem a442c5fe1d flutter: theme: Add settingsHeaderStyle and switchListTileTitleStyle 2021-03-28 12:18:05 +08:00
Calcitem c565c214d0 flutter: theme: Add AppTheme.switchListTileActiveColor 2021-03-28 12:07:34 +08:00
Calcitem 7bdcd2bf85 flutter: theme: Add AppTheme.sizedBox 2021-03-28 12:02:28 +08:00
Calcitem 6f5f0da57e flutter: theme: Add cardColor and cardMargin 2021-03-28 11:49:42 +08:00
Calcitem 09baa8fa18 flutter: Add list_item_divider.dart 2021-03-28 11:33:06 +08:00
Calcitem 33abfab7a5 flutter: Refactor about_page.dart
Add license_page.dart
2021-03-28 11:09:43 +08:00
Calcitem b9a0c6c5ca flutter: about_page.dart: Remove unused trailing 2021-03-28 10:51:26 +08:00
Calcitem 5884fa4c5f flutter: Remove unused functions
didPush
didPopNext
didPushNext
didPop
didChangeDependencies
buildManualPanel
2021-03-28 10:46:59 +08:00
Calcitem e81fed6842 flutter: refactor: Replace shared to instance 2021-03-28 10:20:34 +08:00
Calcitem f58fc485e7 flutter: Tap board to let AI start thinking if AI is first move 2021-03-28 00:51:25 +08:00
Calcitem 8fc4b0038c flutter: Fix first tap response slow when piece count changed
Call tree:
Game.shared.newGame(); ->
      Game.shared.start();
      Game.shared.position.init(); ->
		setPosition(rule); ->
			getNPiecesInHand();

To fix fen string.
2021-03-28 00:27:20 +08:00
Calcitem be5b877885 flutter: Add exit/quit menu item 2021-03-27 21:55:02 +08:00
Calcitem 3d9ad02d20 flutter: Replace ColorizeAnimatedTextKit by AnimatedTextKit and ColorizeAnimatedText 2021-03-27 21:33:29 +08:00
Calcitem 76d0b4cc3e flutter: Upgrade dependencies 2021-03-27 21:06:39 +08:00
Calcitem a6d291d8de flutter: Fix dead code 2021-03-27 21:06:18 +08:00
Calcitem 8f706716a3 flutter: Remove warp.sh to fix aab build error (WAR)
flutter build appbundle
Execution failed for task ':app:packageReleaseBundle'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > File 'root/lib/arm64-v8a/wrap.sh' uses reserved file or directory name 'lib'.
2021-03-27 12:21:57 +08:00
Calcitem ffaf7ca167 Flutter: Add internet permission on Android only for debug build type
See:
https://github.com/flutter/flutter/issues/20789
https://stackoverflow.com/questions/51751873/flutter-app-does-not-start-in-debug-mode
https://stackoverflow.com/questions/55603979/why-flutter-application-cant-connect-to-internet-when-install-app-release-apk
2021-03-27 11:57:26 +08:00
Calcitem 998542d823 flutter: Assert when engine timeout 2021-03-27 11:33:32 +08:00
Calcitem 151558a2e3 perfect: Fix build error on clang (WAR) 2021-03-27 09:23:44 +08:00
Calcitem 475826e976 flutter: Add ASan and HWAsan configs but not enable 2021-03-26 02:32:08 +08:00
Calcitem 4673868c94 flutter: Add quote to native-backtrace.sh 2021-03-25 01:31:07 +08:00
Calcitem 5b45e83719 flutter: android: Add native-backtrace.sh
See: https://developer.android.com/ndk/guides/ndk-stack
2021-03-22 23:58:26 +08:00
Calcitem 9a27ec302c flutter: android: Add debug signingConfig to build.gradle 2021-03-22 23:58:26 +08:00
Calcitem be5f1c6921 Fix some kritika.io reported problems 2021-03-22 23:58:26 +08:00
Calcitem 3e1ca7e85e Readme: Add how to install Qt 2021-03-22 23:58:25 +08:00
Calcitem c6640c977b flutter: refactor: Rename profile to settings 2021-03-22 23:58:25 +08:00