skip to Main Content

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

Flutter – TextFormField error message not displayed correctly when typing

I have a CustomTextFormField which is a wrapper over a TextFormField as below: import 'package:flutter/material.dart'; class CustomTextFormField extends StatelessWidget { final TextEditingController controller; final String hintText; final String label; final bool obscureText; final FormFieldValidator<String>? validator; final ValueChanged<String>? onChanged; const CustomTextFormField({…

VIEW QUESTION
Back To Top
Search