update
This commit is contained in:
parent
ba5833afb2
commit
0edeeff6d4
6 changed files with 3 additions and 31 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 284 KiB After Width: | Height: | Size: 108 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 327 KiB After Width: | Height: | Size: 297 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 144 KiB After Width: | Height: | Size: 136 KiB |
|
|
@ -15,8 +15,6 @@ class PageBackgroundWidget extends StatelessWidget {
|
|||
height: MediaQuery.of(context).size.height + 200,
|
||||
decoration: BoxDecoration(
|
||||
image: DecorationImage(
|
||||
// Image.asset('assets/ph_logo2.webp',
|
||||
// width: 192, cacheWidth: (192 * MediaQuery.of(context).devicePixelRatio).round()),
|
||||
image: AssetImage(
|
||||
page == 'login'
|
||||
? 'assets/login_background.webp'
|
||||
|
|
@ -24,10 +22,9 @@ class PageBackgroundWidget extends StatelessWidget {
|
|||
? 'assets/register_background.webp'
|
||||
: 'assets/background.webp',
|
||||
),
|
||||
// image: Image.asset('assets/login_background.webp', width: 192, cacheWidth: (192 * MediaQuery.of(context).devicePixelRatio).round()),
|
||||
fit: BoxFit.fitWidth,
|
||||
alignment: Alignment.topCenter,
|
||||
opacity: 0.3,
|
||||
fit: BoxFit.cover, // Ensures the background covers the entire container
|
||||
alignment: Alignment.center,
|
||||
opacity: 0.3, // Adjusts the opacity as needed
|
||||
),
|
||||
gradient: const RadialGradient(
|
||||
tileMode: TileMode.clamp,
|
||||
|
|
|
|||
24
pubspec.lock
24
pubspec.lock
|
|
@ -145,14 +145,6 @@ packages:
|
|||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "7.0.1"
|
||||
file_cache_provider:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: file_cache_provider
|
||||
sha256: f53d123ac8ed04498b8f133edffd23ddeabe3e03bad6bd656339f23affa862ce
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.0.0"
|
||||
fixnum:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -256,14 +248,6 @@ packages:
|
|||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "4.1.2"
|
||||
image_cache:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: image_cache
|
||||
sha256: "96849d37eb2672280bc6f2754ca71ddeceb2cd475c6a8b10c2add29eaa68a30c"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.0.1"
|
||||
internet_connection_checker:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
|
|
@ -320,14 +304,6 @@ packages:
|
|||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "5.1.1"
|
||||
loading_animation_widget:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: loading_animation_widget
|
||||
sha256: "9fe23381f3096e902f39e87e487648ff7f74925e86234353fa885bb9f6c98004"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.3.0"
|
||||
logging:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ dependencies:
|
|||
intl: ^0.20.2
|
||||
visibility_detector: ^0.4.0+2
|
||||
internet_connection_checker: ^3.0.1
|
||||
image_cache: ^1.0.1
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue