diff --git a/pets/assets/images/login/jamie-street-Zqy-x7K5Qcg-unsplash.jpg b/pets/assets/images/login/jamie-street-Zqy-x7K5Qcg-unsplash.jpg new file mode 100644 index 0000000..f0fb1f4 Binary files /dev/null and b/pets/assets/images/login/jamie-street-Zqy-x7K5Qcg-unsplash.jpg differ diff --git a/pets/lib/pages/welcome_page.dart b/pets/lib/pages/welcome_page.dart index 8b09c88..23ed7e1 100644 --- a/pets/lib/pages/welcome_page.dart +++ b/pets/lib/pages/welcome_page.dart @@ -2,7 +2,6 @@ import 'dart:ui'; -import 'package:fast_cached_network_image/fast_cached_network_image.dart'; import 'package:flutter/material.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; import 'package:pets/components/square_tile.dart'; @@ -89,8 +88,9 @@ class WelcomePage extends ConsumerWidget { return Stack( alignment: Alignment.bottomCenter, children: [ - FastCachedImage( - url: 'https://source.unsplash.com/random/?pets', + Image( + image: AssetImage( + 'assets/images/login/jamie-street-Zqy-x7K5Qcg-unsplash.jpg'), width: MediaQuery.of(context).size.width, height: MediaQuery.of(context).size.height, fit: BoxFit.cover, diff --git a/pets/pubspec.yaml b/pets/pubspec.yaml index 3d8b04a..3151951 100644 --- a/pets/pubspec.yaml +++ b/pets/pubspec.yaml @@ -100,6 +100,7 @@ flutter: # To add assets to your application, add an assets section, like this: assets: - assets/images/ + - assets/images/login/ - assets/icons/ - assets/alarms/