Browse Source

finish work

master
mohsen zamani 2 years ago
parent
commit
39af9350b4
  1. 4
      android/app/src/main/AndroidManifest.xml
  2. BIN
      android/app/src/main/res/mipmap-hdpi/launcher_icon.png
  3. BIN
      android/app/src/main/res/mipmap-mdpi/launcher_icon.png
  4. BIN
      android/app/src/main/res/mipmap-xhdpi/launcher_icon.png
  5. BIN
      android/app/src/main/res/mipmap-xxhdpi/launcher_icon.png
  6. BIN
      android/app/src/main/res/mipmap-xxxhdpi/launcher_icon.png
  7. BIN
      assets/images/jpg/logo.jpg
  8. BIN
      ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
  9. BIN
      ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
  10. BIN
      ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
  11. BIN
      ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
  12. BIN
      ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
  13. BIN
      ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
  14. BIN
      ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
  15. BIN
      ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
  16. BIN
      ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
  17. BIN
      ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
  18. BIN
      ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@1x.png
  19. BIN
      ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@2x.png
  20. BIN
      ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png
  21. BIN
      ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png
  22. BIN
      ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
  23. BIN
      ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
  24. BIN
      ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png
  25. BIN
      ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png
  26. BIN
      ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
  27. BIN
      ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
  28. BIN
      ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
  29. 24
      lib/screens/photo/photo_screen_large.dart
  30. 18
      pubspec.lock
  31. 8
      pubspec.yaml

4
android/app/src/main/AndroidManifest.xml

@ -1,9 +1,9 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.souvikbiswas.my_flutter_puzzle"> package="com.souvikbiswas.my_flutter_puzzle">
<application <application
android:label="Habib Kids"
android:label="zayer puzzle"
android:name="${applicationName}" android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
android:icon="@mipmap/launcher_icon">
<activity <activity
android:name=".MainActivity" android:name=".MainActivity"
android:exported="true" android:exported="true"

BIN
android/app/src/main/res/mipmap-hdpi/launcher_icon.png

After

Width: 72  |  Height: 72  |  Size: 7.1 KiB

BIN
android/app/src/main/res/mipmap-mdpi/launcher_icon.png

After

Width: 48  |  Height: 48  |  Size: 3.6 KiB

BIN
android/app/src/main/res/mipmap-xhdpi/launcher_icon.png

After

Width: 96  |  Height: 96  |  Size: 12 KiB

BIN
android/app/src/main/res/mipmap-xxhdpi/launcher_icon.png

After

Width: 144  |  Height: 144  |  Size: 23 KiB

BIN
android/app/src/main/res/mipmap-xxxhdpi/launcher_icon.png

After

Width: 192  |  Height: 192  |  Size: 37 KiB

BIN
assets/images/jpg/logo.jpg

After

Width: 1079  |  Height: 1092  |  Size: 75 KiB

BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png

Before

Width: 1024  |  Height: 1024  |  Size: 11 KiB

After

Width: 1024  |  Height: 1024  |  Size: 486 KiB

BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png

Before

Width: 20  |  Height: 20  |  Size: 564 B

After

Width: 20  |  Height: 20  |  Size: 878 B

BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png

Before

Width: 40  |  Height: 40  |  Size: 1.3 KiB

After

Width: 40  |  Height: 40  |  Size: 2.7 KiB

BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png

Before

Width: 60  |  Height: 60  |  Size: 1.6 KiB

After

Width: 60  |  Height: 60  |  Size: 5.2 KiB

BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png

Before

Width: 29  |  Height: 29  |  Size: 1.0 KiB

After

Width: 29  |  Height: 29  |  Size: 1.6 KiB

BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png

Before

Width: 58  |  Height: 58  |  Size: 1.7 KiB

After

Width: 58  |  Height: 58  |  Size: 4.9 KiB

BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png

Before

Width: 87  |  Height: 87  |  Size: 1.9 KiB

After

Width: 87  |  Height: 87  |  Size: 9.8 KiB

BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png

Before

Width: 40  |  Height: 40  |  Size: 1.3 KiB

After

Width: 40  |  Height: 40  |  Size: 2.7 KiB

BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png

Before

Width: 80  |  Height: 80  |  Size: 1.9 KiB

After

Width: 80  |  Height: 80  |  Size: 8.5 KiB

BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png

Before

Width: 120  |  Height: 120  |  Size: 2.6 KiB

After

Width: 120  |  Height: 120  |  Size: 17 KiB

BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@1x.png

After

Width: 50  |  Height: 50  |  Size: 3.9 KiB

BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@2x.png

After

Width: 100  |  Height: 100  |  Size: 12 KiB

BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png

After

Width: 57  |  Height: 57  |  Size: 4.8 KiB

BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png

After

Width: 114  |  Height: 114  |  Size: 16 KiB

BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png

Before

Width: 120  |  Height: 120  |  Size: 2.6 KiB

After

Width: 120  |  Height: 120  |  Size: 17 KiB

BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png

Before

Width: 180  |  Height: 180  |  Size: 3.7 KiB

After

Width: 180  |  Height: 180  |  Size: 33 KiB

BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png

After

Width: 72  |  Height: 72  |  Size: 7.1 KiB

BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png

After

Width: 144  |  Height: 144  |  Size: 23 KiB

BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png

Before

Width: 76  |  Height: 76  |  Size: 1.8 KiB

After

Width: 76  |  Height: 76  |  Size: 7.8 KiB

BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png

Before

Width: 152  |  Height: 152  |  Size: 3.2 KiB

After

Width: 152  |  Height: 152  |  Size: 25 KiB

BIN
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png

Before

Width: 167  |  Height: 167  |  Size: 3.5 KiB

After

Width: 167  |  Height: 167  |  Size: 30 KiB

24
lib/screens/photo/photo_screen_large.dart

@ -70,30 +70,6 @@ class _SoloScreenLargeState extends ConsumerState<PhotoScreenLarge> {
_eachBoxSize = (_boardSize / _puzzleSize) - (_spacing * (_puzzleSize - 1)); _eachBoxSize = (_boardSize / _puzzleSize) - (_spacing * (_puzzleSize - 1));
_initialPuzzleData = widget.initialPuzzleData; _initialPuzzleData = widget.initialPuzzleData;
_riveController = widget.riveController; _riveController = widget.riveController;
Timer timer = Timer(
const Duration(seconds: 10),
() {
_puzzleSolved = true;
BlocProvider.of<CountDownTimerCubit>(context).stop();
BlocProvider.of<LevelListCubit>(context).setRecordDuration(
widget.level,
BlocProvider.of<CountDownTimerCubit>(context).getDuration() ?? Duration(minutes: widget.duration),
() {
Future.delayed(const Duration(milliseconds: 500), () {
Navigator.pushReplacement(context, MaterialPageRoute(
builder: (context) {
return WinScreen(
tiles: _tiles,
move: _moves,
level: widget.level,
);
},
));
});
},
);
},
);
super.initState(); super.initState();
} }

18
pubspec.lock

@ -145,6 +145,14 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.0.2" version: "2.0.2"
cli_util:
dependency: transitive
description:
name: cli_util
sha256: "66f86e916d285c1a93d3b79587d94bd71984a66aac4ff74e524cfa7877f1395c"
url: "https://pub.dev"
source: hosted
version: "0.3.5"
clock: clock:
dependency: transitive dependency: transitive
description: description:
@ -262,6 +270,14 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "8.1.2" version: "8.1.2"
flutter_launcher_icons:
dependency: "direct dev"
description:
name: flutter_launcher_icons
sha256: ce0e501cfc258907842238e4ca605e74b7fd1cdf04b3b43e86c43f3e40a1592c
url: "https://pub.dev"
source: hosted
version: "0.11.0"
flutter_lints: flutter_lints:
dependency: "direct dev" dependency: "direct dev"
description: description:
@ -875,5 +891,5 @@ packages:
source: hosted source: hosted
version: "3.1.1" version: "3.1.1"
sdks: sdks:
dart: ">=2.19.2 <3.0.0"
dart: ">=2.19.0 <3.0.0"
flutter: ">=3.7.0-0" flutter: ">=3.7.0-0"

8
pubspec.yaml

@ -36,6 +36,7 @@ dev_dependencies:
sdk: flutter sdk: flutter
freezed: ^1.1.1 freezed: ^1.1.1
build_runner: ^2.1.7 build_runner: ^2.1.7
flutter_launcher_icons: ^0.11.0
flutter_lints: ^1.0.0 flutter_lints: ^1.0.0
flutter: flutter:
uses-material-design: true uses-material-design: true
@ -50,4 +51,9 @@ flutter:
fonts: fonts:
- asset: fonts/GoogleSans-Regular.ttf - asset: fonts/GoogleSans-Regular.ttf
- asset: fonts/GoogleSans-Medium.ttf - asset: fonts/GoogleSans-Medium.ttf
- asset: fonts/GoogleSans-Bold.ttf
- asset: fonts/GoogleSans-Bold.ttf
flutter_icons:
android: "launcher_icon"
ios: true
image_path: "assets/images/jpg/logo.jpg"
Loading…
Cancel
Save