This commit is contained in:
Patrick Alvin Alcala 2025-02-04 17:26:32 +08:00
parent e6aebd9a64
commit 2c63edd554
11 changed files with 13 additions and 13 deletions

View file

@ -78,7 +78,7 @@ class _AddGenericsPageState extends State<AddGenericsPage> {
child: Center(
child: Column(
children: [
const Gap(104),
const Gap(96),
const TitleWidget(firstTextSize: 20, secondTextSize: 32),
const Gap(32),
const TextWidget(text: 'Add Generics'),

View file

@ -112,7 +112,7 @@ class _AddMedicinePageState extends State<AddMedicinePage> {
child: Center(
child: Column(
children: [
const Gap(104),
const Gap(96),
const TitleWidget(firstTextSize: 20, secondTextSize: 32),
const Gap(32),
const TextWidget(text: 'Add Medicine'),

View file

@ -84,7 +84,7 @@ class _AddStockPageState extends State<AddStockPage> {
child: Center(
child: Column(
children: [
const Gap(104),
const Gap(96),
const TitleWidget(firstTextSize: 20, secondTextSize: 32),
const Gap(32),
const TextWidget(text: 'Add Stock'),

View file

@ -38,7 +38,7 @@ class _AddTypePageState extends State<AddTypePage> {
child: Center(
child: Column(
children: [
const Gap(104),
const Gap(96),
const TitleWidget(firstTextSize: 20, secondTextSize: 32),
const Gap(32),
const TextWidget(text: 'Add Medicine Type'),

View file

@ -30,12 +30,12 @@ class IndexPage extends StatelessWidget {
child: Column(
children: [
const Gap(88),
const TitleWidget(firstTextSize: 32, secondTextSize: 40),
const TitleWidget(firstTextSize: 24, secondTextSize: 32),
const Gap(32),
Padding(
padding: const EdgeInsets.fromLTRB(0, 0, 38, 0),
child: Image.asset('assets/ph_logo2.webp',
width: 200, cacheWidth: (200 * MediaQuery.of(context).devicePixelRatio).round()),
width: 192, cacheWidth: (192 * MediaQuery.of(context).devicePixelRatio).round()),
),
const Gap(64),
ButtonWidget(text: 'Login', onPressed: gotoLogin),

View file

@ -87,7 +87,7 @@ class _ListStocksPageState extends State<ListStocksPage> {
body: PageBackgroundWidget(
child: Column(
children: [
const Gap(104),
const Gap(96),
const TitleWidget(firstTextSize: 20, secondTextSize: 32),
const Gap(32),
const TextWidget(text: 'List of Stocks'),

View file

@ -83,7 +83,7 @@ class _LoginPageState extends State<LoginPage> {
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
children: [
const Gap(104),
const Gap(96),
const TitleWidget(firstTextSize: 20, secondTextSize: 32),
const Gap(32),
const TextWidget(text: 'Login'),

View file

@ -35,7 +35,7 @@ class MainPage extends StatelessWidget {
child: Center(
child: Column(
children: [
const Gap(104),
const Gap(96),
const TitleWidget(firstTextSize: 20, secondTextSize: 32),
const Gap(32),
const TextWidget(text: 'Menu'),

View file

@ -65,7 +65,7 @@ class _RegisterPageState extends State<RegisterPage> {
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
children: [
const Gap(104),
const Gap(96),
const TitleWidget(firstTextSize: 20, secondTextSize: 32),
const Gap(32),
const TextWidget(text: 'Register'),

View file

@ -12,7 +12,7 @@ class PageBackgroundWidget extends StatelessWidget {
// physics: NeverScrollableScrollPhysics(),
child: Container(
alignment: Alignment.center,
height: MediaQuery.of(context).size.height,
height: MediaQuery.of(context).size.height + 200,
decoration: const BoxDecoration(
image: DecorationImage(image: AssetImage('assets/background2.webp'), fit: BoxFit.fitWidth, opacity: 0.2),
gradient: RadialGradient(

View file

@ -12,9 +12,9 @@ class SloganWidget extends StatelessWidget {
children: [
_buildSloganItem("Easy to Use", 48),
const Gap(8),
_buildSloganItem("Access to Medicine", 88),
_buildSloganItem("Access to Medicines", 80),
const Gap(8),
_buildSloganItem("Instant Home Delivery", 128),
_buildSloganItem("Instant Home Delivery", 112),
],
);
}