Skip to content

Commit

Permalink
Flutter Gen Indentation FIx (#1766)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdmohsin7 authored Feb 8, 2025
2 parents 5c927ab + 72a0515 commit ba21de9
Show file tree
Hide file tree
Showing 4 changed files with 164 additions and 14 deletions.
165 changes: 158 additions & 7 deletions app/lib/gen/assets.gen.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class AppAnalyticsWidget extends StatelessWidget {
children: [
Row(
children: [
Skeleton.shade(child: SvgPicture.asset(Assets.images.icChart, width: 20)),
Skeleton.shade(child: SvgPicture.asset(Assets.images.icChart.path, width: 20)),
const SizedBox(width: 8),
Text(
installs.toString(),
Expand All @@ -69,7 +69,7 @@ class AppAnalyticsWidget extends StatelessWidget {
children: [
Row(
children: [
Skeleton.shade(child: SvgPicture.asset(Assets.images.icDollar, width: 20)),
Skeleton.shade(child: SvgPicture.asset(Assets.images.icDollar.path, width: 20)),
const SizedBox(width: 8),
Text(
"\$$moneyMade",
Expand Down
2 changes: 1 addition & 1 deletion app/lib/pages/apps/widgets/app_metadata_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ class AppMetadataWidget extends StatelessWidget {
await context.read<AddAppProvider>().generateDescription();
},
child: SvgPicture.asset(
Assets.images.aiMagic,
Assets.images.aiMagic.path,
color: Colors.white,
),
),
Expand Down
7 changes: 3 additions & 4 deletions app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,9 @@ flutter_gen:
output: lib/gen/
class_name: Assets
integrations:
flutter_svg: true
flare_flutter: true
rive: true
lottie: true
flutter_svg: true
rive: true
lottie: true
gen_package_path: true
ignore_resolution: true
omit_path_levels: 3
Expand Down

0 comments on commit ba21de9

Please sign in to comment.