mirror of
https://github.com/smmarty/friflex_flutter_starter.git
synced 2025-12-22 09:30:45 +00:00
fix(pubspec): Исправить нотацию fluttergen
This commit is contained in:
@@ -13,15 +13,15 @@ final class _Dev {
|
|||||||
static const String baseUrl = 'https://dev';
|
static const String baseUrl = 'https://dev';
|
||||||
|
|
||||||
static const List<int> _enviedkeysecretKey = <int>[
|
static const List<int> _enviedkeysecretKey = <int>[
|
||||||
45820206,
|
4165345137,
|
||||||
4292305074,
|
3493800243,
|
||||||
1553598735,
|
502170426,
|
||||||
];
|
];
|
||||||
|
|
||||||
static const List<int> _envieddatasecretKey = <int>[
|
static const List<int> _envieddatasecretKey = <int>[
|
||||||
45820234,
|
4165345045,
|
||||||
4292305111,
|
3493800278,
|
||||||
1553598841,
|
502170444,
|
||||||
];
|
];
|
||||||
|
|
||||||
static final String secretKey = String.fromCharCodes(List<int>.generate(
|
static final String secretKey = String.fromCharCodes(List<int>.generate(
|
||||||
@@ -36,33 +36,33 @@ final class _Dev {
|
|||||||
// generated_from: env/prod.env
|
// generated_from: env/prod.env
|
||||||
final class _Prod {
|
final class _Prod {
|
||||||
static const List<int> _enviedkeybaseUrl = <int>[
|
static const List<int> _enviedkeybaseUrl = <int>[
|
||||||
3619294633,
|
1959698309,
|
||||||
560029786,
|
1370422491,
|
||||||
3178585068,
|
1593239974,
|
||||||
3377720392,
|
2980796982,
|
||||||
977735066,
|
3484307801,
|
||||||
2142081055,
|
2340951854,
|
||||||
1298585806,
|
4002048327,
|
||||||
933917938,
|
2957329110,
|
||||||
1244996901,
|
3569108013,
|
||||||
1950368931,
|
2324336979,
|
||||||
2147265964,
|
691664904,
|
||||||
2338251746,
|
2999310215,
|
||||||
];
|
];
|
||||||
|
|
||||||
static const List<int> _envieddatabaseUrl = <int>[
|
static const List<int> _envieddatabaseUrl = <int>[
|
||||||
3619294657,
|
1959698413,
|
||||||
560029742,
|
1370422447,
|
||||||
3178584984,
|
1593240018,
|
||||||
3377720376,
|
2980796998,
|
||||||
977735145,
|
3484307754,
|
||||||
2142081061,
|
2340951828,
|
||||||
1298585825,
|
4002048360,
|
||||||
933917917,
|
2957329145,
|
||||||
1244996949,
|
3569108061,
|
||||||
1950368977,
|
2324336929,
|
||||||
2147265987,
|
691664999,
|
||||||
2338251654,
|
2999310307,
|
||||||
];
|
];
|
||||||
|
|
||||||
static final String baseUrl = String.fromCharCodes(List<int>.generate(
|
static final String baseUrl = String.fromCharCodes(List<int>.generate(
|
||||||
@@ -72,17 +72,17 @@ final class _Prod {
|
|||||||
).map((int i) => _envieddatabaseUrl[i] ^ _enviedkeybaseUrl[i]));
|
).map((int i) => _envieddatabaseUrl[i] ^ _enviedkeybaseUrl[i]));
|
||||||
|
|
||||||
static const List<int> _enviedkeysecretKey = <int>[
|
static const List<int> _enviedkeysecretKey = <int>[
|
||||||
2449171331,
|
4268709792,
|
||||||
2315988352,
|
3715718791,
|
||||||
1037757119,
|
3691995036,
|
||||||
3159274193,
|
2677812110,
|
||||||
];
|
];
|
||||||
|
|
||||||
static const List<int> _envieddatasecretKey = <int>[
|
static const List<int> _envieddatasecretKey = <int>[
|
||||||
2449171443,
|
4268709840,
|
||||||
2315988466,
|
3715718901,
|
||||||
1037757136,
|
3691995123,
|
||||||
3159274165,
|
2677812202,
|
||||||
];
|
];
|
||||||
|
|
||||||
static final String secretKey = String.fromCharCodes(List<int>.generate(
|
static final String secretKey = String.fromCharCodes(List<int>.generate(
|
||||||
@@ -97,35 +97,35 @@ final class _Prod {
|
|||||||
// generated_from: env/stage.env
|
// generated_from: env/stage.env
|
||||||
final class _Stage {
|
final class _Stage {
|
||||||
static const List<int> _enviedkeybaseUrl = <int>[
|
static const List<int> _enviedkeybaseUrl = <int>[
|
||||||
443716089,
|
3824074796,
|
||||||
3928907238,
|
1785932277,
|
||||||
1851881210,
|
700105518,
|
||||||
3858110087,
|
2614901365,
|
||||||
3324475128,
|
2850858902,
|
||||||
1601592105,
|
3082107206,
|
||||||
2404110281,
|
3784178565,
|
||||||
1092690431,
|
815141967,
|
||||||
1025677374,
|
4277092750,
|
||||||
3283672546,
|
3942345021,
|
||||||
425122182,
|
1481955512,
|
||||||
3412521909,
|
3678805330,
|
||||||
1297182020,
|
206487437,
|
||||||
];
|
];
|
||||||
|
|
||||||
static const List<int> _envieddatabaseUrl = <int>[
|
static const List<int> _envieddatabaseUrl = <int>[
|
||||||
443715985,
|
3824074820,
|
||||||
3928907154,
|
1785932161,
|
||||||
1851881102,
|
700105562,
|
||||||
3858110199,
|
2614901253,
|
||||||
3324475019,
|
2850858981,
|
||||||
1601592083,
|
3082107260,
|
||||||
2404110310,
|
3784178602,
|
||||||
1092690384,
|
815141984,
|
||||||
1025677389,
|
4277092861,
|
||||||
3283672470,
|
3942345033,
|
||||||
425122279,
|
1481955545,
|
||||||
3412521938,
|
3678805301,
|
||||||
1297181985,
|
206487528,
|
||||||
];
|
];
|
||||||
|
|
||||||
static final String baseUrl = String.fromCharCodes(List<int>.generate(
|
static final String baseUrl = String.fromCharCodes(List<int>.generate(
|
||||||
@@ -135,19 +135,19 @@ final class _Stage {
|
|||||||
).map((int i) => _envieddatabaseUrl[i] ^ _enviedkeybaseUrl[i]));
|
).map((int i) => _envieddatabaseUrl[i] ^ _enviedkeybaseUrl[i]));
|
||||||
|
|
||||||
static const List<int> _enviedkeysecretKey = <int>[
|
static const List<int> _enviedkeysecretKey = <int>[
|
||||||
58874248,
|
1473916388,
|
||||||
3497500657,
|
2313056220,
|
||||||
3833421599,
|
2069119783,
|
||||||
555777488,
|
32407210,
|
||||||
132619188,
|
317937387,
|
||||||
];
|
];
|
||||||
|
|
||||||
static const List<int> _envieddatasecretKey = <int>[
|
static const List<int> _envieddatasecretKey = <int>[
|
||||||
58874363,
|
1473916311,
|
||||||
3497500549,
|
2313056168,
|
||||||
3833421694,
|
2069119814,
|
||||||
555777463,
|
32407245,
|
||||||
132619217,
|
317937294,
|
||||||
];
|
];
|
||||||
|
|
||||||
static final String secretKey = String.fromCharCodes(List<int>.generate(
|
static final String secretKey = String.fromCharCodes(List<int>.generate(
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ class $AssetsFontsGen {
|
|||||||
montserratExtraBold,
|
montserratExtraBold,
|
||||||
montserratMedium,
|
montserratMedium,
|
||||||
montserratRegular,
|
montserratRegular,
|
||||||
montserratSemiBold
|
montserratSemiBold,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -63,7 +63,7 @@ class $AssetsLottieGen {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class Assets {
|
class Assets {
|
||||||
Assets._();
|
const Assets._();
|
||||||
|
|
||||||
static const $AssetsFontsGen fonts = $AssetsFontsGen();
|
static const $AssetsFontsGen fonts = $AssetsFontsGen();
|
||||||
static const $AssetsIconsGen icons = $AssetsIconsGen();
|
static const $AssetsIconsGen icons = $AssetsIconsGen();
|
||||||
@@ -71,17 +71,11 @@ class Assets {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class SvgGenImage {
|
class SvgGenImage {
|
||||||
const SvgGenImage(
|
const SvgGenImage(this._assetName, {this.size, this.flavors = const {}})
|
||||||
this._assetName, {
|
: _isVecFormat = false;
|
||||||
this.size,
|
|
||||||
this.flavors = const {},
|
|
||||||
}) : _isVecFormat = false;
|
|
||||||
|
|
||||||
const SvgGenImage.vec(
|
const SvgGenImage.vec(this._assetName, {this.size, this.flavors = const {}})
|
||||||
this._assetName, {
|
: _isVecFormat = true;
|
||||||
this.size,
|
|
||||||
this.flavors = const {},
|
|
||||||
}) : _isVecFormat = true;
|
|
||||||
|
|
||||||
final String _assetName;
|
final String _assetName;
|
||||||
final Size? size;
|
final Size? size;
|
||||||
@@ -135,7 +129,8 @@ class SvgGenImage {
|
|||||||
placeholderBuilder: placeholderBuilder,
|
placeholderBuilder: placeholderBuilder,
|
||||||
semanticsLabel: semanticsLabel,
|
semanticsLabel: semanticsLabel,
|
||||||
excludeFromSemantics: excludeFromSemantics,
|
excludeFromSemantics: excludeFromSemantics,
|
||||||
colorFilter: colorFilter ??
|
colorFilter:
|
||||||
|
colorFilter ??
|
||||||
(color == null ? null : ColorFilter.mode(color, colorBlendMode)),
|
(color == null ? null : ColorFilter.mode(color, colorBlendMode)),
|
||||||
clipBehavior: clipBehavior,
|
clipBehavior: clipBehavior,
|
||||||
cacheColorFilter: cacheColorFilter,
|
cacheColorFilter: cacheColorFilter,
|
||||||
@@ -148,10 +143,7 @@ class SvgGenImage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class LottieGenImage {
|
class LottieGenImage {
|
||||||
const LottieGenImage(
|
const LottieGenImage(this._assetName, {this.flavors = const {}});
|
||||||
this._assetName, {
|
|
||||||
this.flavors = const {},
|
|
||||||
});
|
|
||||||
|
|
||||||
final String _assetName;
|
final String _assetName;
|
||||||
final Set<String> flavors;
|
final Set<String> flavors;
|
||||||
@@ -168,11 +160,8 @@ class LottieGenImage {
|
|||||||
_lottie.LottieImageProviderFactory? imageProviderFactory,
|
_lottie.LottieImageProviderFactory? imageProviderFactory,
|
||||||
Key? key,
|
Key? key,
|
||||||
AssetBundle? bundle,
|
AssetBundle? bundle,
|
||||||
Widget Function(
|
Widget Function(BuildContext, Widget, _lottie.LottieComposition?)?
|
||||||
BuildContext,
|
frameBuilder,
|
||||||
Widget,
|
|
||||||
_lottie.LottieComposition?,
|
|
||||||
)? frameBuilder,
|
|
||||||
ImageErrorWidgetBuilder? errorBuilder,
|
ImageErrorWidgetBuilder? errorBuilder,
|
||||||
double? width,
|
double? width,
|
||||||
double? height,
|
double? height,
|
||||||
@@ -182,6 +171,9 @@ class LottieGenImage {
|
|||||||
bool? addRepaintBoundary,
|
bool? addRepaintBoundary,
|
||||||
FilterQuality? filterQuality,
|
FilterQuality? filterQuality,
|
||||||
void Function(String)? onWarning,
|
void Function(String)? onWarning,
|
||||||
|
_lottie.LottieDecoder? decoder,
|
||||||
|
_lottie.RenderCache? renderCache,
|
||||||
|
bool? backgroundLoading,
|
||||||
}) {
|
}) {
|
||||||
return _lottie.Lottie.asset(
|
return _lottie.Lottie.asset(
|
||||||
_assetName,
|
_assetName,
|
||||||
@@ -206,6 +198,9 @@ class LottieGenImage {
|
|||||||
addRepaintBoundary: addRepaintBoundary,
|
addRepaintBoundary: addRepaintBoundary,
|
||||||
filterQuality: filterQuality,
|
filterQuality: filterQuality,
|
||||||
onWarning: onWarning,
|
onWarning: onWarning,
|
||||||
|
decoder: decoder,
|
||||||
|
renderCache: renderCache,
|
||||||
|
backgroundLoading: backgroundLoading,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -77,9 +77,7 @@ flutter:
|
|||||||
weight: 400
|
weight: 400
|
||||||
|
|
||||||
flutter_gen:
|
flutter_gen:
|
||||||
options:
|
|
||||||
output: lib/gen/
|
|
||||||
line_length: 100
|
|
||||||
integrations:
|
integrations:
|
||||||
flutter_svg: true
|
flutter_svg: true
|
||||||
lottie: true
|
lottie: true
|
||||||
Reference in New Issue
Block a user