This commit is contained in:
Patrick Alvin Alcala 2025-02-25 15:18:41 +08:00
parent b299297fa5
commit 11fc5c43bf
29 changed files with 1041 additions and 124 deletions

View 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()),
],
)),
);
}
}