Updated widgets

This commit is contained in:
Patrick Alvin Alcala 2025-12-15 17:37:38 +08:00
parent cbb142b0cf
commit 171635c753
2 changed files with 13 additions and 8 deletions

View file

@ -15,18 +15,23 @@ class BoxWidget extends StatelessWidget {
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(8),
color: Color.fromRGBO(16, 22, 28, 0.584),
border: Border.all(color: const Color.fromRGBO(32, 47, 61, 1)),
border: Border.all(color: const Color.fromRGBO(41, 60, 78, 0.914)),
),
width: MediaQuery.of(context).size.width - 30,
// height: MediaQuery.of(context).size.height / 2.2,
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
if (title.isNotEmpty)
Column(
children: [
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [TextWidget(text: title, bold: true, size: 24)],
),
const Gap(16),
],
),
Padding(padding: const EdgeInsets.all(16), child: content),
],
),

View file

@ -16,9 +16,9 @@ class MenuWidget extends StatelessWidget {
child: Container(
padding: EdgeInsets.all(16),
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(8),
borderRadius: BorderRadius.circular(24),
color: Color.fromARGB(149, 16, 22, 28),
border: Border.all(color: const Color.fromRGBO(32, 47, 61, 1)),
border: Border.all(color: const Color.fromRGBO(41, 60, 78, 0.914)),
),
width: 120,
height: 120,