opt: AppBar渐变背景
This commit is contained in:
@ -78,16 +78,16 @@ class _HomePageState extends State<HomePage>
|
|||||||
Theme.of(context)
|
Theme.of(context)
|
||||||
.colorScheme
|
.colorScheme
|
||||||
.primary
|
.primary
|
||||||
.withOpacity(0.9),
|
.withOpacity(0.4),
|
||||||
Theme.of(context)
|
Theme.of(context)
|
||||||
.colorScheme
|
.colorScheme
|
||||||
.primary
|
.surface
|
||||||
.withOpacity(0.5),
|
.withOpacity(0.5),
|
||||||
Theme.of(context).colorScheme.surface
|
Theme.of(context).colorScheme.surface
|
||||||
],
|
],
|
||||||
begin: Alignment.topLeft,
|
begin: Alignment.topCenter,
|
||||||
end: Alignment.bottomRight,
|
end: Alignment.bottomCenter,
|
||||||
stops: const [0, 0.0034, 0.34]),
|
stops: const [0.1, 0.3, 0.5]),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user