added cache for categories

This commit is contained in:
Patrick Alvin Alcala 2025-03-20 13:10:39 +08:00
parent 753c730588
commit 1aa7410e2e
14 changed files with 195 additions and 63 deletions

View file

@ -31,7 +31,7 @@ class _CustomerSearchPageState extends State<CustomerSearchPage> {
// late final List _medicinesList = [];
Future<void> _getURL() async {
final image = await _storage.getPublicURL('ref_medicines_images', 'a3e430fe-86c1-4d46-9c6a-aed2dae57fef.webp');
final image = await _storage.getImageURL('ref_medicines_images', 'a3e430fe-86c1-4d46-9c6a-aed2dae57fef.webp');
setState(() {
imageUrl = image;
});