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,
|
height: MediaQuery.of(context).size.height + 200,
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
image: DecorationImage(
|
image: DecorationImage(
|
||||||
// Image.asset('assets/ph_logo2.webp',
|
|
||||||
// width: 192, cacheWidth: (192 * MediaQuery.of(context).devicePixelRatio).round()),
|
|
||||||
image: AssetImage(
|
image: AssetImage(
|
||||||
page == 'login'
|
page == 'login'
|
||||||
? 'assets/login_background.webp'
|
? 'assets/login_background.webp'
|
||||||
|
|
@ -24,10 +22,9 @@ class PageBackgroundWidget extends StatelessWidget {
|
||||||
? 'assets/register_background.webp'
|
? 'assets/register_background.webp'
|
||||||
: 'assets/background.webp',
|
: 'assets/background.webp',
|
||||||
),
|
),
|
||||||
// image: Image.asset('assets/login_background.webp', width: 192, cacheWidth: (192 * MediaQuery.of(context).devicePixelRatio).round()),
|
fit: BoxFit.cover, // Ensures the background covers the entire container
|
||||||
fit: BoxFit.fitWidth,
|
alignment: Alignment.center,
|
||||||
alignment: Alignment.topCenter,
|
opacity: 0.3, // Adjusts the opacity as needed
|
||||||
opacity: 0.3,
|
|
||||||
),
|
),
|
||||||
gradient: const RadialGradient(
|
gradient: const RadialGradient(
|
||||||
tileMode: TileMode.clamp,
|
tileMode: TileMode.clamp,
|
||||||
|
|
|
||||||
24
pubspec.lock
24
pubspec.lock
|
|
@ -145,14 +145,6 @@ packages:
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "7.0.1"
|
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:
|
fixnum:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
|
@ -256,14 +248,6 @@ packages:
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "4.1.2"
|
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:
|
internet_connection_checker:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
|
|
@ -320,14 +304,6 @@ packages:
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "5.1.1"
|
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:
|
logging:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,6 @@ dependencies:
|
||||||
intl: ^0.20.2
|
intl: ^0.20.2
|
||||||
visibility_detector: ^0.4.0+2
|
visibility_detector: ^0.4.0+2
|
||||||
internet_connection_checker: ^3.0.1
|
internet_connection_checker: ^3.0.1
|
||||||
image_cache: ^1.0.1
|
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
flutter_test:
|
flutter_test:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue