Skip to content

Commit

Permalink
Usa imagem estática no login invés de página com problema
Browse files Browse the repository at this point in the history
  • Loading branch information
naaando committed Jul 25, 2024
1 parent 2674330 commit 22ac617
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions pets/lib/pages/welcome_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions pets/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/

Expand Down

0 comments on commit 22ac617

Please sign in to comment.