step 11 : get location now using javascript in flutter

This commit is contained in:
sindhu
2024-08-27 17:58:59 +07:00
parent 7bd8527df2
commit 102760babc
7 changed files with 229 additions and 12 deletions

View File

@@ -0,0 +1,10 @@
import 'package:hooks_riverpod/hooks_riverpod.dart';
final locationProvider = StateProvider<Map<String, dynamic>>((ref) {
return {
'status': null,
'message': null,
'latitude': null,
'longitude': null,
};
});