This commit is contained in:
Patrick Alvin Alcala 2025-02-19 15:28:53 +08:00
parent 5f38ce753f
commit 8d4eb1f728
12 changed files with 102 additions and 20 deletions

View file

@ -3,7 +3,7 @@ import 'package:gap/gap.dart';
import 'package:internet_connection_checker/internet_connection_checker.dart';
import 'package:pharmacy_mobile/tables/ref_categories.dart';
import 'package:pharmacy_mobile/widgets/button_widget.dart';
import 'package:pharmacy_mobile/widgets/form_border_widget.dart';
import 'package:pharmacy_mobile/widgets/form_border_widget2.dart';
import 'package:pharmacy_mobile/widgets/input_widget.dart';
import 'package:pharmacy_mobile/widgets/page_background_widget.dart';
import 'package:pharmacy_mobile/widgets/snackbar_widget.dart';
@ -66,7 +66,7 @@ class _AddCategoryPageState extends State<AddCategoryPage> {
const Gap(32),
const TextWidget(text: 'Add Category'),
const Gap(16),
FormBorderWidget(
FormBorderWidget2(
color: 'blue',
child: Form(
key: _formKey,

View file

@ -6,6 +6,7 @@ import 'package:pharmacy_mobile/tables/ref_generic_names.dart';
import 'package:pharmacy_mobile/widgets/button_widget.dart';
import 'package:pharmacy_mobile/widgets/dropdown_widget.dart';
import 'package:pharmacy_mobile/widgets/form_border_widget.dart';
import 'package:pharmacy_mobile/widgets/form_border_widget2.dart';
import 'package:pharmacy_mobile/widgets/input_widget.dart';
import 'package:pharmacy_mobile/widgets/page_background_widget.dart';
import 'package:pharmacy_mobile/widgets/snackbar_widget.dart';
@ -130,7 +131,7 @@ class _AddGenericsPageState extends State<AddGenericsPage> {
const Gap(32),
const TextWidget(text: 'Add Generics'),
const Gap(16),
FormBorderWidget(
FormBorderWidget2(
color: 'blue',
child: Form(
key: _formKey,

View file

@ -12,6 +12,7 @@ import 'package:pharmacy_mobile/widgets/button_widget.dart';
import 'package:pharmacy_mobile/widgets/dropdown_widget.dart';
import 'package:pharmacy_mobile/widgets/dropdown_wrappermulti_widget.dart';
import 'package:pharmacy_mobile/widgets/form_border_widget.dart';
import 'package:pharmacy_mobile/widgets/form_border_widget2.dart';
import 'package:pharmacy_mobile/widgets/input_widget.dart';
import 'package:pharmacy_mobile/widgets/page_background_widget.dart';
import 'package:pharmacy_mobile/widgets/snackbar_widget.dart';
@ -199,7 +200,7 @@ class _AddMedicinePageState extends State<AddMedicinePage> {
const Gap(32),
const TextWidget(text: 'Add Medicine'),
const Gap(16),
FormBorderWidget(
FormBorderWidget2(
color: 'green',
child: Form(
key: _formKey,

View file

@ -6,6 +6,7 @@ import 'package:pharmacy_mobile/widgets/button_widget.dart';
import 'package:pharmacy_mobile/widgets/datepicker_widget.dart';
import 'package:pharmacy_mobile/widgets/dropdown_widget.dart';
import 'package:pharmacy_mobile/widgets/form_border_widget.dart';
import 'package:pharmacy_mobile/widgets/form_border_widget2.dart';
import 'package:pharmacy_mobile/widgets/input_widget.dart';
import 'package:pharmacy_mobile/widgets/page_background_widget.dart';
import 'package:pharmacy_mobile/widgets/text_widget.dart';
@ -74,7 +75,7 @@ class _AddStockPageState extends State<AddStockPage> {
const Gap(32),
const TextWidget(text: 'Add Stock'),
const Gap(16),
FormBorderWidget(
FormBorderWidget2(
color: 'green',
child: Form(
key: _formKey,

View file

@ -4,6 +4,7 @@ import 'package:internet_connection_checker/internet_connection_checker.dart';
import 'package:pharmacy_mobile/tables/ref_types.dart';
import 'package:pharmacy_mobile/widgets/button_widget.dart';
import 'package:pharmacy_mobile/widgets/form_border_widget.dart';
import 'package:pharmacy_mobile/widgets/form_border_widget2.dart';
import 'package:pharmacy_mobile/widgets/input_widget.dart';
import 'package:pharmacy_mobile/widgets/page_background_widget.dart';
import 'package:pharmacy_mobile/widgets/snackbar_widget.dart';
@ -73,7 +74,7 @@ class _AddTypePageState extends State<AddTypePage> {
const Gap(32),
const TextWidget(text: 'Add Medicine Type'),
const Gap(16),
FormBorderWidget(
FormBorderWidget2(
color: 'blue',
child: Form(
key: _formKey,

View file

@ -6,6 +6,7 @@ import 'package:pharmacy_mobile/widgets/button_widget.dart';
import 'package:pharmacy_mobile/widgets/dropdown_widget.dart';
import 'package:pharmacy_mobile/widgets/dropdown_wrappermulti_widget.dart';
import 'package:pharmacy_mobile/widgets/form_border_widget.dart';
import 'package:pharmacy_mobile/widgets/form_border_widget2.dart';
import 'package:pharmacy_mobile/widgets/input_widget.dart';
import 'package:pharmacy_mobile/widgets/page_background_widget.dart';
import 'package:pharmacy_mobile/widgets/snackbar_widget.dart';
@ -123,7 +124,7 @@ class _DeleteStockPageState extends State<DeleteStockPage> {
const Gap(32),
const TextWidget(text: 'Remove Stock'),
const Gap(16),
FormBorderWidget(
FormBorderWidget2(
color: 'red',
child: Form(
key: _formKey,

View file

@ -55,7 +55,7 @@ class _MainPageState extends State<MainPage> {
icon: FontAwesomeIcons.circlePlus,
text: 'Add Category',
description: 'Create a new medicine category',
onPressed: () => {context.push('/addtype')},
onPressed: () => {context.push('/addcategory')},
color: 'blue',
),
const Gap(16),