use firebase database in flutter code example
Example 1: flutter firebase database
dependencies: flutter: sdk: flutter firebase_database: 1.0.3
Example 2: flutter firebase database
void createRecord(){ databaseReference.child("1").set({ 'title': 'Mastering EJB', 'description': 'Programming Guide for J2EE' }); databaseReference.child("2").set({ 'title': 'Flutter in Action', 'description': 'Complete Programming Guide to learn Flutter' });}