We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2ebe40 commit bc24124Copy full SHA for bc24124
assets/user.png
5.06 KB
lib/pages/user_profile/UserProfile.dart
@@ -52,8 +52,7 @@ class _UserProfileState extends PageState<UserProfile> {
52
BlankPadding(),
53
CircleAvatar(
54
backgroundColor: Colors.lightBlue.shade100,
55
- backgroundImage: NetworkImage(
56
- 'https://aux2.iconspalace.com/uploads/manager-icon-256.png'),
+ backgroundImage: Image.asset("assets/user.png").image,
57
radius: 32,
58
),
59
pubspec.yaml
@@ -38,6 +38,7 @@ flutter:
38
- assets/fireworks.png
39
- assets/baby.png
40
- assets/contact.png
41
+ - assets/user.png
42
43
# Run 'flutter pub run flutter_launcher_icons:main'
44
flutter_icons:
0 commit comments