mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-24 17:56:45 +00:00
refactor(ui): Update the ProgressDrawer style
This commit is contained in:
parent
657ff44979
commit
3dce7c8f49
|
@ -25,11 +25,14 @@ class ProgressDrawer extends StatelessWidget {
|
||||||
width: 300,
|
width: 300,
|
||||||
height: constraints.maxHeight,
|
height: constraints.maxHeight,
|
||||||
child: Drawer(
|
child: Drawer(
|
||||||
|
child: SafeArea(
|
||||||
|
child: Padding(
|
||||||
|
padding: const EdgeInsets.all(12.0),
|
||||||
child: Column(
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.all(16.0),
|
padding: const EdgeInsets.fromLTRB(16.0, 8.0, 8.0, 8.0),
|
||||||
child: Text(
|
child: Text(
|
||||||
title,
|
title,
|
||||||
style: Theme.of(context).textTheme.titleLarge,
|
style: Theme.of(context).textTheme.titleLarge,
|
||||||
|
@ -54,12 +57,14 @@ class ProgressDrawer extends StatelessWidget {
|
||||||
),
|
),
|
||||||
// const Spacer(),
|
// const Spacer(),
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.all(16.0),
|
padding: const EdgeInsets.only(top: 8.0),
|
||||||
child: trailing,
|
child: trailing,
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue