feat : new changes from back
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
sdk.dir=C:/Users/Housh11/AppData/Local/Android/Sdk
|
sdk.dir=C:/Users/Housh11/AppData/Local/Android/Sdk
|
||||||
flutter.sdk=C:\\src\\flutter
|
flutter.sdk=C:\\src\\flutter
|
||||||
flutter.buildMode=release
|
flutter.buildMode=debug
|
||||||
flutter.versionName=1.3.24
|
flutter.versionName=1.3.25
|
||||||
flutter.versionCode=21
|
flutter.versionCode=22
|
||||||
Binary file not shown.
@@ -13,7 +13,6 @@ import 'package:flutter/services.dart';
|
|||||||
import 'package:flutter/widgets.dart';
|
import 'package:flutter/widgets.dart';
|
||||||
import 'package:flutter_svg/flutter_svg.dart' as _svg;
|
import 'package:flutter_svg/flutter_svg.dart' as _svg;
|
||||||
import 'package:lottie/lottie.dart' as _lottie;
|
import 'package:lottie/lottie.dart' as _lottie;
|
||||||
import 'package:rive/rive.dart' as _rive;
|
|
||||||
import 'package:vector_graphics/vector_graphics.dart' as _vg;
|
import 'package:vector_graphics/vector_graphics.dart' as _vg;
|
||||||
|
|
||||||
class $AssetsAnimGen {
|
class $AssetsAnimGen {
|
||||||
@@ -516,16 +515,6 @@ class $AssetsLogosGen {
|
|||||||
List<AssetGenImage> get values => [finalLogo];
|
List<AssetGenImage> get values => [finalLogo];
|
||||||
}
|
}
|
||||||
|
|
||||||
class $AssetsRiveGen {
|
|
||||||
const $AssetsRiveGen();
|
|
||||||
|
|
||||||
/// File path: assets/rive/shapes.riv
|
|
||||||
RiveGenImage get shapes => const RiveGenImage('assets/rive/shapes.riv');
|
|
||||||
|
|
||||||
/// List of all assets
|
|
||||||
List<RiveGenImage> get values => [shapes];
|
|
||||||
}
|
|
||||||
|
|
||||||
class $AssetsVecGen {
|
class $AssetsVecGen {
|
||||||
const $AssetsVecGen();
|
const $AssetsVecGen();
|
||||||
|
|
||||||
@@ -985,7 +974,6 @@ class Assets {
|
|||||||
static const $AssetsIconsGen icons = $AssetsIconsGen();
|
static const $AssetsIconsGen icons = $AssetsIconsGen();
|
||||||
static const $AssetsImagesGen images = $AssetsImagesGen();
|
static const $AssetsImagesGen images = $AssetsImagesGen();
|
||||||
static const $AssetsLogosGen logos = $AssetsLogosGen();
|
static const $AssetsLogosGen logos = $AssetsLogosGen();
|
||||||
static const $AssetsRiveGen rive = $AssetsRiveGen();
|
|
||||||
static const $AssetsVecGen vec = $AssetsVecGen();
|
static const $AssetsVecGen vec = $AssetsVecGen();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1134,44 +1122,6 @@ class SvgGenImage {
|
|||||||
String get keyName => _assetName;
|
String get keyName => _assetName;
|
||||||
}
|
}
|
||||||
|
|
||||||
class RiveGenImage {
|
|
||||||
const RiveGenImage(this._assetName, {this.flavors = const {}});
|
|
||||||
|
|
||||||
final String _assetName;
|
|
||||||
final Set<String> flavors;
|
|
||||||
|
|
||||||
_rive.RiveAnimation rive({
|
|
||||||
String? artboard,
|
|
||||||
List<String> animations = const [],
|
|
||||||
List<String> stateMachines = const [],
|
|
||||||
BoxFit? fit,
|
|
||||||
Alignment? alignment,
|
|
||||||
Widget? placeHolder,
|
|
||||||
bool antialiasing = true,
|
|
||||||
bool useArtboardSize = false,
|
|
||||||
List<_rive.RiveAnimationController> controllers = const [],
|
|
||||||
_rive.OnInitCallback? onInit,
|
|
||||||
}) {
|
|
||||||
return _rive.RiveAnimation.asset(
|
|
||||||
_assetName,
|
|
||||||
artboard: artboard,
|
|
||||||
animations: animations,
|
|
||||||
stateMachines: stateMachines,
|
|
||||||
fit: fit,
|
|
||||||
alignment: alignment,
|
|
||||||
placeHolder: placeHolder,
|
|
||||||
antialiasing: antialiasing,
|
|
||||||
useArtboardSize: useArtboardSize,
|
|
||||||
controllers: controllers,
|
|
||||||
onInit: onInit,
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
String get path => _assetName;
|
|
||||||
|
|
||||||
String get keyName => _assetName;
|
|
||||||
}
|
|
||||||
|
|
||||||
class LottieGenImage {
|
class LottieGenImage {
|
||||||
const LottieGenImage(this._assetName, {this.flavors = const {}});
|
const LottieGenImage(this._assetName, {this.flavors = const {}});
|
||||||
|
|
||||||
|
|||||||
12
pubspec.lock
12
pubspec.lock
@@ -101,10 +101,10 @@ packages:
|
|||||||
dependency: "direct dev"
|
dependency: "direct dev"
|
||||||
description:
|
description:
|
||||||
name: build_runner
|
name: build_runner
|
||||||
sha256: "804c47c936df75e1911c19a4fb8c46fa8ff2b3099b9f2b2aa4726af3774f734b"
|
sha256: "4e54dbeefdc70691ba80b3bce3976af63b5425c8c07dface348dfee664a0edc1"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.8.0"
|
version: "2.9.0"
|
||||||
built_collection:
|
built_collection:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@@ -634,14 +634,6 @@ packages:
|
|||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "3.1.0"
|
version: "3.1.0"
|
||||||
frontend_server_client:
|
|
||||||
dependency: transitive
|
|
||||||
description:
|
|
||||||
name: frontend_server_client
|
|
||||||
sha256: f64a0333a82f30b0cca061bc3d143813a486dc086b574bfb233b7c1372427694
|
|
||||||
url: "https://pub.dev"
|
|
||||||
source: hosted
|
|
||||||
version: "4.0.0"
|
|
||||||
fuchsia_remote_debug_protocol:
|
fuchsia_remote_debug_protocol:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description: flutter
|
description: flutter
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ dev_dependencies:
|
|||||||
sdk: flutter
|
sdk: flutter
|
||||||
flutter_lints: ^6.0.0
|
flutter_lints: ^6.0.0
|
||||||
##code generation
|
##code generation
|
||||||
build_runner: ^2.8.0
|
build_runner: ^2.9.0
|
||||||
hive_ce_generator: ^1.9.5
|
hive_ce_generator: ^1.9.5
|
||||||
freezed: ^3.2.3
|
freezed: ^3.2.3
|
||||||
json_serializable: ^6.11.1
|
json_serializable: ^6.11.1
|
||||||
@@ -60,7 +60,6 @@ flutter:
|
|||||||
- assets/icons/
|
- assets/icons/
|
||||||
- assets/images/
|
- assets/images/
|
||||||
- assets/logos/
|
- assets/logos/
|
||||||
- assets/rive/
|
|
||||||
- assets/vec/
|
- assets/vec/
|
||||||
- assets/anim/
|
- assets/anim/
|
||||||
|
|
||||||
@@ -79,4 +78,4 @@ flutter_gen:
|
|||||||
image: true
|
image: true
|
||||||
flutter_svg: true
|
flutter_svg: true
|
||||||
lottie: true
|
lottie: true
|
||||||
rive: true
|
|
||||||
|
|||||||
Reference in New Issue
Block a user