skip to Main Content

Flutter Web shared_preferences and Firebase

When I try to use the shared_preferences locally for the web it works. When I publish the code to Firebase it returns the following error: main.dart.js:23921 MissingPluginException(No implementation found for method getAll on channel plugins.flutter.io/shared_preferences) I have a button like…

VIEW QUESTION

New Firebase connection to Flutter application not connecting

I just created a new flutter application and trying to connect a newly made firebase Firestore. Cli has been added and flutterfire config has been ran. import 'package:flutter/material.dart'; import 'package:firebase_core/firebase_core.dart'; import 'firebase_options.dart'; Future<void> main() async { WidgetsFlutterBinding.ensureInitialized(); await Firebase.initializeApp( options:…

VIEW QUESTION

Android Studio – The method 'play' isn't defined for the type 'AudioCache'

issue The method 'play' isn't defined for the type 'AudioCache'. import 'package:flutter/material.dart'; import 'package:audioplayers/src/audio_cache.dart'; void main() { runApp(XylophoneApp()); } class XylophoneApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( home: Scaffold( body: SafeArea( child: Center( child: TextButton( onPressed:…

VIEW QUESTION
Back To Top
Search