80 lines
2.7 KiB
Dart
80 lines
2.7 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:gap/gap.dart';
|
|
import 'package:pharmacy_mobile/widgets/consultation_widget.dart';
|
|
import 'package:pharmacy_mobile/widgets/customer_pagebackground_widget.dart';
|
|
import 'package:pharmacy_mobile/widgets/customer_title_widget.dart';
|
|
import 'package:pharmacy_mobile/widgets/description_menu_widget.dart';
|
|
import 'package:pharmacy_mobile/widgets/indicator_widget.dart';
|
|
|
|
class CustomerMainPage extends StatefulWidget {
|
|
const CustomerMainPage({super.key});
|
|
|
|
@override
|
|
State<CustomerMainPage> createState() => _CustomerMainPageState();
|
|
}
|
|
|
|
class _CustomerMainPageState extends State<CustomerMainPage> {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
body: CustomerPagebackgroundWidget(
|
|
child: Column(
|
|
children: [
|
|
const Gap(68),
|
|
const CustomerTitleWidget(),
|
|
const Gap(16),
|
|
const IndicatorWidget(text: 'Pharmacist Consultation'),
|
|
const Gap(8),
|
|
ConsultationWidget(
|
|
name: 'Ofelia Franco-Alcala, RPh',
|
|
description: 'Pharmacist',
|
|
contact: '09205436095',
|
|
imagePath: 'assets/images/profile.webp',
|
|
color: 'pink',
|
|
margin: 32,
|
|
),
|
|
const Gap(8),
|
|
ConsultationWidget(
|
|
name: 'Pamela Claire Alcala, RPh',
|
|
description: 'Pharmacist',
|
|
contact: '09205436095',
|
|
imagePath: 'assets/images/profile.webp',
|
|
color: 'pink',
|
|
margin: 32,
|
|
),
|
|
const Gap(16),
|
|
const IndicatorWidget(text: 'Doctor Consultation'),
|
|
// const Row(
|
|
// mainAxisAlignment: MainAxisAlignment.start,
|
|
// children: [
|
|
// TextWidget(
|
|
// text: 'Doctor Consultation',
|
|
// title: true,
|
|
// size: 14,
|
|
// ),
|
|
// ],
|
|
// ),
|
|
const Gap(8),
|
|
ConsultationWidget(
|
|
name: 'Floherna Franco-Diccion, PhD',
|
|
description: 'Physician',
|
|
contact: '09205436095',
|
|
imagePath: 'assets/images/profile.webp',
|
|
color: 'blue',
|
|
margin: 32,
|
|
),
|
|
const Gap(16),
|
|
const IndicatorWidget(text: 'Quick Description'),
|
|
const Gap(8),
|
|
const DescriptionMenuWidget(
|
|
title: 'Fever', description: "A fever is an abnormally high body temperature.", margin: 16),
|
|
const Gap(8),
|
|
const DescriptionMenuWidget(
|
|
title: 'Fever', description: "A fever is an abnormally high body temperature.", margin: 16),
|
|
const Gap(8),
|
|
const DescriptionMenuWidget(
|
|
title: 'Fever', description: "A fever is an abnormally high body temperature.", margin: 16),
|
|
],
|
|
)));
|
|
}
|
|
}
|