i want to access cameras
in another dart file, how can i do it, my app is complex can’t be shared through constructor, i am using Getx (i am new to getx), help is appriciated
this is my main.dart
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
final cameras = await availableCameras();
runApp(MyApp());
}