Create new asset folder and add images to it
This commit is contained in:
parent
a9ec3e0565
commit
dc796612fb
49 changed files with 80 additions and 51 deletions
|
|
@ -37,7 +37,8 @@ class _MIHProfileGetterState extends State<MIHProfileGetter> {
|
|||
|
||||
ImageProvider<Object>? isPictureAvailable(String url) {
|
||||
if (url == "") {
|
||||
return const AssetImage('images/i-dont-know-2.png');
|
||||
return const AssetImage(
|
||||
'lib/mih_components/mih_package_components/assets/images/i-dont-know-2.png');
|
||||
} else if (url != "") {
|
||||
return NetworkImage(url);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue