skip to Main Content

List of Previous Pages on Flutter

How can I know the list of previous pages in flutter, I'm using getx for navigation I didn't tried anything. . static void checkForRootLink() { //get currenmt page of the app log('Current route:${Get.currentRoute}'); log(RuntimeConfigs.routeObserver!.routeStack.toString()); // if (currentRoute == NamedRoutes.socialAppHomeIndex.path) {…

VIEW QUESTION

MissingPluginException No implementation found for method getApplicationDocumentsDirectory on channel plugins.flutter.io/path_provider

Error: Unhandled Exception: MissingPluginException(No implementation found for method getApplicationDocumentsDirectory on channel plugins.flutter.io/path_provider). this my code. import 'package:flutter/material.dart'; import 'package:get/get.dart'; import 'package:get_storage/get_storage.dart'; class GetStoragePage extends StatefulWidget { const GetStoragePage({super.key}); @override State<GetStoragePage> createState() => _GetStoragePageState(); } class _GetStoragePageState extends State<GetStoragePage> { var…

VIEW QUESTION

Flutter – why String not get localised?

I use getxcontroller, in it there is a String like this: class HomeController extends GetxController { String testString1 = 'test1'.tr; testMethod(){ String testString2 = 'test2'.tr; } } After I trigger some localise method: var locale = Locale('de', 'DE'); Get.updateLocale(locale); testString2…

VIEW QUESTION
Back To Top
Search