update
This commit is contained in:
parent
e6aebd9a64
commit
2c63edd554
11 changed files with 13 additions and 13 deletions
|
|
@ -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'),
|
||||
|
|
|
|||
|
|
@ -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'),
|
||||
|
|
|
|||
|
|
@ -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'),
|
||||
|
|
|
|||
|
|
@ -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'),
|
||||
|
|
|
|||
|
|
@ -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),
|
||||
|
|
|
|||
|
|
@ -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'),
|
||||
|
|
|
|||
|
|
@ -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'),
|
||||
|
|
|
|||
|
|
@ -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'),
|
||||
|
|
|
|||
|
|
@ -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'),
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue