update
This commit is contained in:
parent
b299297fa5
commit
11fc5c43bf
29 changed files with 1041 additions and 124 deletions
31
lib/pages/customer_pages/customer_itemview_page.dart
Normal file
31
lib/pages/customer_pages/customer_itemview_page.dart
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:pharmacy_mobile/tables/storage.dart';
|
||||
import 'package:pharmacy_mobile/widgets/page_background_widget.dart';
|
||||
|
||||
class CustomerItemviewPage extends StatelessWidget {
|
||||
const CustomerItemviewPage({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final storage = Storage();
|
||||
|
||||
void getURL() async {
|
||||
final image = await storage.getPublicURL('ref_medicines_images', 'cb6eafdb-d86f-460a-9571-44446570d4cb.webp');
|
||||
// setState(() {
|
||||
// imageUrl = image;
|
||||
}
|
||||
|
||||
return Scaffold(
|
||||
body: PageBackgroundWidget(
|
||||
child: Column(
|
||||
children: [
|
||||
Image.network('imageUrl',
|
||||
fit: BoxFit.cover,
|
||||
width: 21,
|
||||
height: 21 / 1.4,
|
||||
cacheWidth: (21 * MediaQuery.of(context).devicePixelRatio).round()),
|
||||
],
|
||||
)),
|
||||
);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue