Category : ios

import ‘package:flutter/cupertino.dart’; import ‘package:flutter/material.dart’; import ‘package:toggle_switch/toggle_switch.dart’; import ‘package:font_awesome_flutter/font_awesome_flutter.dart’; import ‘package:mybmiapp/calculatedval.dart’; void main() { WidgetsFlutterBinding.ensureInitialized(); runApp(MyApp()); } class MyApp extends StatefulWidget { @override _MyState createState() => _MyState(); } class _MyState extends State<MyApp> { bool _isBannerAdReady = false; var msgController = TextEditingController(); var msgController2 = TextEditingController(); int index = 0; @override Widget build(BuildContext context) { final t1 ..

Read more

I’m trying to use realtime database, but reference is returning null. Not working on ios and android. database().ref(‘/users/123’) // returns "null/users/123" If I do it like this, then it works. But you should not need to put the url of the database. It should find the default database ref. const database = firebase.app().database(URL); const reference ..

Read more