mod
This commit is contained in:
@ -78,14 +78,9 @@ class _DynamicsPageState extends State<DynamicsPage>
|
|||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
super.build(context);
|
super.build(context);
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
backgroundColor: Colors.transparent,
|
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
elevation: 0,
|
elevation: 0,
|
||||||
scrolledUnderElevation: 0,
|
scrolledUnderElevation: 0,
|
||||||
backgroundColor: Colors.transparent,
|
|
||||||
systemOverlayStyle: Theme.of(context).brightness == Brightness.dark
|
|
||||||
? SystemUiOverlayStyle.light
|
|
||||||
: SystemUiOverlayStyle.dark,
|
|
||||||
title: SizedBox(
|
title: SizedBox(
|
||||||
height: 34,
|
height: 34,
|
||||||
child: Stack(
|
child: Stack(
|
||||||
|
@ -123,27 +123,28 @@ class _MainAppState extends State<MainApp> with SingleTickerProviderStateMixin {
|
|||||||
Align(
|
Align(
|
||||||
alignment: Alignment.topLeft,
|
alignment: Alignment.topLeft,
|
||||||
child: Opacity(
|
child: Opacity(
|
||||||
opacity: 0.6,
|
opacity: Theme.of(context).brightness == Brightness.dark
|
||||||
|
? 0.3
|
||||||
|
: 0.6,
|
||||||
child: Container(
|
child: Container(
|
||||||
width: MediaQuery.of(context).size.width,
|
width: MediaQuery.of(context).size.width,
|
||||||
// height: MediaQuery.of(context).size.height,
|
height: MediaQuery.of(context).size.height,
|
||||||
height: MediaQuery.of(context).padding.top + 400,
|
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
gradient: LinearGradient(
|
gradient: LinearGradient(
|
||||||
colors: [
|
colors: [
|
||||||
Theme.of(context)
|
Theme.of(context)
|
||||||
.colorScheme
|
.colorScheme
|
||||||
.primary
|
.primary
|
||||||
.withOpacity(0.6),
|
.withOpacity(0.7),
|
||||||
|
Theme.of(context).colorScheme.surface,
|
||||||
Theme.of(context)
|
Theme.of(context)
|
||||||
.colorScheme
|
.colorScheme
|
||||||
.surface
|
.surface
|
||||||
.withOpacity(0.3),
|
.withOpacity(0.3),
|
||||||
Theme.of(context).colorScheme.surface
|
|
||||||
],
|
],
|
||||||
begin: Alignment.topCenter,
|
begin: Alignment.topCenter,
|
||||||
end: Alignment.bottomCenter,
|
end: Alignment.bottomCenter,
|
||||||
stops: const [0.1, 0.8, 1]),
|
stops: const [0.1, 0.3, 5]),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@ -46,16 +46,7 @@ class _MediaPageState extends State<MediaPage>
|
|||||||
super.build(context);
|
super.build(context);
|
||||||
Color primary = Theme.of(context).colorScheme.primary;
|
Color primary = Theme.of(context).colorScheme.primary;
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
backgroundColor: Colors.transparent,
|
appBar: AppBar(toolbarHeight: 30),
|
||||||
appBar: AppBar(
|
|
||||||
elevation: 0,
|
|
||||||
scrolledUnderElevation: 0,
|
|
||||||
toolbarHeight: 30,
|
|
||||||
backgroundColor: Colors.transparent,
|
|
||||||
systemOverlayStyle: Theme.of(context).brightness == Brightness.dark
|
|
||||||
? SystemUiOverlayStyle.light
|
|
||||||
: SystemUiOverlayStyle.dark,
|
|
||||||
),
|
|
||||||
body: SingleChildScrollView(
|
body: SingleChildScrollView(
|
||||||
controller: mediaController.scrollController,
|
controller: mediaController.scrollController,
|
||||||
child: Column(
|
child: Column(
|
||||||
|
Reference in New Issue
Block a user