update
This commit is contained in:
parent
478b8e70f1
commit
55de28532f
14 changed files with 149 additions and 115 deletions
|
|
@ -15,7 +15,7 @@ class CustomerCartPage extends StatelessWidget {
|
|||
body: CustomerPagebackgroundWidget(
|
||||
child: Column(
|
||||
children: [
|
||||
const Gap(96),
|
||||
const Gap(68),
|
||||
const CustomerTitleWidget(),
|
||||
const Gap(32),
|
||||
const TextWidget(text: 'My Cart'),
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ class _CustomerMainPageState extends State<CustomerMainPage> {
|
|||
body: CustomerPagebackgroundWidget(
|
||||
child: Column(
|
||||
children: [
|
||||
const Gap(96),
|
||||
const Gap(68),
|
||||
const CustomerTitleWidget(),
|
||||
const Gap(16),
|
||||
const Row(
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ class _CustomerProfilePageState extends State<CustomerProfilePage> {
|
|||
children: [
|
||||
Column(
|
||||
children: [
|
||||
const Gap(96),
|
||||
const Gap(68),
|
||||
const CustomerTitleWidget(),
|
||||
const Gap(32),
|
||||
const TextWidget(text: 'My Profile'),
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ class _CustomerSearchPageState extends State<CustomerSearchPage> {
|
|||
|
||||
void autoRun() async {
|
||||
await _getAllStocks();
|
||||
await _getAllMedicines();
|
||||
// await _getAllMedicines();
|
||||
await _getURL();
|
||||
}
|
||||
|
||||
|
|
@ -92,12 +92,12 @@ class _CustomerSearchPageState extends State<CustomerSearchPage> {
|
|||
|
||||
return Scaffold(
|
||||
body: CustomerPagebackgroundWidget(
|
||||
height: MediaQuery.of(context).size.height + 600,
|
||||
height: MediaQuery.of(context).size.height + 800,
|
||||
child: Column(
|
||||
children: [
|
||||
Column(
|
||||
children: [
|
||||
const Gap(96),
|
||||
const Gap(68),
|
||||
const CustomerTitleWidget(),
|
||||
const Gap(8),
|
||||
Container(
|
||||
|
|
@ -145,24 +145,24 @@ class _CustomerSearchPageState extends State<CustomerSearchPage> {
|
|||
child: Row(
|
||||
children: [
|
||||
if (imageUrl.isEmpty)
|
||||
Row(
|
||||
const Row(
|
||||
children: [
|
||||
ItemCardWidget(
|
||||
imageUrl: imageUrl,
|
||||
imageUrl: 'imageUrl',
|
||||
text: 'item[medicine_name]',
|
||||
price: 123,
|
||||
quantity: 123,
|
||||
isLoading: true,
|
||||
),
|
||||
ItemCardWidget(
|
||||
imageUrl: imageUrl,
|
||||
imageUrl: 'imageUrl',
|
||||
text: 'item[medicine_name]',
|
||||
price: 123,
|
||||
quantity: 123,
|
||||
isLoading: true,
|
||||
),
|
||||
ItemCardWidget(
|
||||
imageUrl: imageUrl,
|
||||
imageUrl: 'imageUrl',
|
||||
text: 'item[medicine_name]',
|
||||
price: 123,
|
||||
quantity: 123,
|
||||
|
|
@ -192,7 +192,7 @@ class _CustomerSearchPageState extends State<CustomerSearchPage> {
|
|||
imageUrl: imageUrl,
|
||||
text: 'sample',
|
||||
price: 500,
|
||||
quantity: 15,
|
||||
quantity: 0,
|
||||
isLoading: imageUrl.isEmpty,
|
||||
),
|
||||
ItemCardWidget(
|
||||
|
|
@ -271,6 +271,36 @@ class _CustomerSearchPageState extends State<CustomerSearchPage> {
|
|||
),
|
||||
],
|
||||
)),
|
||||
const Gap(16),
|
||||
const IndicatorWidget(text: 'For Infection and Irritations'),
|
||||
const Gap(8),
|
||||
SingleChildScrollView(
|
||||
scrollDirection: Axis.horizontal,
|
||||
child: Row(
|
||||
children: [
|
||||
ItemCardWidget(
|
||||
imageUrl: imageUrl,
|
||||
text: 'sample',
|
||||
price: 500,
|
||||
quantity: 15,
|
||||
isLoading: imageUrl.isEmpty,
|
||||
),
|
||||
ItemCardWidget(
|
||||
imageUrl: imageUrl,
|
||||
text: 'sample',
|
||||
price: 500,
|
||||
quantity: 15,
|
||||
isLoading: imageUrl.isEmpty,
|
||||
),
|
||||
ItemCardWidget(
|
||||
imageUrl: imageUrl,
|
||||
text: 'sample',
|
||||
price: 500,
|
||||
quantity: 15,
|
||||
isLoading: imageUrl.isEmpty,
|
||||
),
|
||||
],
|
||||
)),
|
||||
],
|
||||
)
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue