Skip to content

Commit

Permalink
refactor(images): move the logos to the images folder
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardodalarme committed Oct 29, 2022
1 parent 57dac99 commit a24be3f
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
File renamed without changes
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion flutter_launcher_icons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ flutter_icons:
generate: true

# The location of the image file which you want to use as the app launcher icon
image_path: "assets/icons/logo_background.png"
image_path: "assets/images/logo_background.png"

# The location of the icon image file specific for a specific platform
# (optional - if not defined then the image_path is used)
Expand Down
2 changes: 1 addition & 1 deletion flutter_native_splash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ flutter_native_splash:

# The image parameter allows you to specify an image used in the splash screen. It must be a
# png file and should be sized for 4x pixel density.
image: assets/icons/logo_white.png
image: assets/images/logo_white.png

# The branding property allows you to specify an image used as branding in the splash screen.
# It must be a png file. Currently, it is only supported for Android < v12 and iOS.
Expand Down
10 changes: 7 additions & 3 deletions lib/constants/app_images.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
abstract class AppImages {
static const String easyinvest = 'assets/images/easyinvest.jpg';
static const String pix = 'assets/images/pix.jpg';
static const String referFriend = 'assets/images/refer_friend.jpg';
static const String _path = 'assets/images/';
static const String logo = '${_path}logo.png';
static const String logoBackground = '${_path}logo_background.png';
static const String logoWhite = '${_path}logo_white.png';
static const String easyinvest = '${_path}easyinvest.jpg';
static const String pix = '${_path}pix.jpg';
static const String referFriend = '${_path}refer_friend.jpg';
}

1 comment on commit a24be3f

@vercel
Copy link

@vercel vercel bot commented on a24be3f Oct 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.