refactor(ui): Update the ProgressDrawer style

This commit is contained in:
Inex Code 2024-11-01 16:33:50 +03:00
parent 657ff44979
commit 3dce7c8f49

View file

@ -25,11 +25,14 @@ class ProgressDrawer extends StatelessWidget {
width: 300,
height: constraints.maxHeight,
child: Drawer(
child: SafeArea(
child: Padding(
padding: const EdgeInsets.all(12.0),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Padding(
padding: const EdgeInsets.all(16.0),
padding: const EdgeInsets.fromLTRB(16.0, 8.0, 8.0, 8.0),
child: Text(
title,
style: Theme.of(context).textTheme.titleLarge,
@ -54,12 +57,14 @@ class ProgressDrawer extends StatelessWidget {
),
// const Spacer(),
Padding(
padding: const EdgeInsets.all(16.0),
padding: const EdgeInsets.only(top: 8.0),
child: trailing,
),
],
),
),
),
),
);
}