add suppliers and distributors

This commit is contained in:
Patrick Alvin Alcala 2025-04-22 11:11:59 +08:00
parent 9cf3934f6f
commit 77fae74302
11 changed files with 426 additions and 33 deletions

View file

@ -146,7 +146,7 @@ class _MainPageState extends State<MainPage> {
resizeToAvoidBottomInset: false,
body: SingleChildScrollView(
child: PageBackgroundWidget(
height: MediaQuery.of(context).size.height + 500,
height: MediaQuery.of(context).size.height + 600,
page: 'menu',
child: Center(
child: Column(
@ -171,6 +171,22 @@ class _MainPageState extends State<MainPage> {
color: 'blue',
),
const Gap(16),
MenuWidget(
icon: FontAwesomeIcons.circlePlus,
text: 'Add Distributor',
description: 'Register manufacturer to the list',
onPressed: () => {context.push('/adddistributor')},
color: 'blue',
),
const Gap(16),
MenuWidget(
icon: FontAwesomeIcons.circlePlus,
text: 'Add Supplier',
description: 'Register manufacturer to the list',
onPressed: () => {context.push('/addsupplier')},
color: 'blue',
),
const Gap(16),
MenuWidget(
icon: FontAwesomeIcons.circlePlus,
text: 'Add Type',