update
This commit is contained in:
parent
5b6134a5c3
commit
ba5833afb2
5 changed files with 33 additions and 6 deletions
|
|
@ -17,15 +17,17 @@ class PageBackgroundWidget extends StatelessWidget {
|
|||
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'
|
||||
: page == 'register'
|
||||
? 'assets/register_background.webp'
|
||||
: 'assets/background.webp'),
|
||||
image: AssetImage(
|
||||
page == 'login'
|
||||
? 'assets/login_background.webp'
|
||||
: page == 'register'
|
||||
? '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.2,
|
||||
opacity: 0.3,
|
||||
),
|
||||
gradient: const RadialGradient(
|
||||
tileMode: TileMode.clamp,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue