77// ignore_for_file: type=lint
88// ignore_for_file: directives_ordering,unnecessary_import,implicit_dynamic_list_literal,deprecated_member_use
99
10- import 'package:flare_flutter/flare_actor.dart' as _flare_actor;
11- import 'package:flare_flutter/flare_controller.dart' as _flare_controller;
1210import 'package:flutter/services.dart' ;
1311import 'package:flutter/widgets.dart' ;
1412import 'package:flutter_svg/flutter_svg.dart' as _svg;
@@ -23,8 +21,7 @@ class $AssetsImagesGen {
2321 SvgGenImage get dart => const SvgGenImage ('assets/images/dart.svg' );
2422
2523 /// File path: assets/images/favorite.flr
26- FlareGenImage get favorite =>
27- const FlareGenImage ('assets/images/favorite.flr' );
24+ String get favorite => 'assets/images/favorite.flr' ;
2825
2926 /// File path: assets/images/flutter3.jpg
3027 AssetGenImage get flutter3 =>
@@ -227,55 +224,6 @@ class SvgGenImage {
227224 String get keyName => 'packages/example_resources/$_assetName ' ;
228225}
229226
230- class FlareGenImage {
231- const FlareGenImage (
232- this ._assetName, {
233- this .flavors = const {},
234- });
235-
236- final String _assetName;
237- final Set <String > flavors;
238-
239- static const String package = 'example_resources' ;
240-
241- _flare_actor.FlareActor flare ({
242- String ? boundsNode,
243- String ? animation,
244- BoxFit fit = BoxFit .contain,
245- Alignment alignment = Alignment .center,
246- bool isPaused = false ,
247- bool snapToEnd = false ,
248- _flare_controller.FlareController ? controller,
249- _flare_actor.FlareCompletedCallback ? callback,
250- Color ? color,
251- bool shouldClip = true ,
252- bool sizeFromArtboard = false ,
253- String ? artboard,
254- bool antialias = true ,
255- }) {
256- return _flare_actor.FlareActor (
257- 'packages/example_resources/$_assetName ' ,
258- boundsNode: boundsNode,
259- animation: animation,
260- fit: fit,
261- alignment: alignment,
262- isPaused: isPaused,
263- snapToEnd: snapToEnd,
264- controller: controller,
265- callback: callback,
266- color: color,
267- shouldClip: shouldClip,
268- sizeFromArtboard: sizeFromArtboard,
269- artboard: artboard,
270- antialias: antialias,
271- );
272- }
273-
274- String get path => _assetName;
275-
276- String get keyName => 'packages/example_resources/$_assetName ' ;
277- }
278-
279227class RiveGenImage {
280228 const RiveGenImage (
281229 this ._assetName, {
0 commit comments