Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Let's explore Flutter with Firebase

Let's explore Flutter with Firebase

A talk on Flutter with Firebase, in which you can find how Flutter is different from others, how to start with Flutter.

Firebase Introduction and implementation of Cloud FireStore with Flutter.

Talk delivered at DevFest Jalandhar 2018
Google Slides with Animation & Gif: https://goo.gl/ZhRCZp

Dhrumil Shah

October 19, 2018
Tweet

More Decks by Dhrumil Shah

Other Decks in Programming

Transcript

  1. Compiled to native MVC/ MVVM View Reactive Views Interpreted (JavaScript)

    iOS SDK Android SDK Titanium, Cordova, PhoneGap, Ionic, ... Technology: WebViews
  2. Compiled to native MVC/ MVVM View Reactive Views Interpreted (JavaScript)

    iOS SDK Android SDK Titanium, Cordova, PhoneGap, Ionic, ... Flutter React Native Technology: Reactive Views
  3. A Widget can be defined as Jalandhar • A structural

    element ◦ e.g. Button, TextView, Menu • A design element ◦ e.g. Font or Color • A layout element ◦ e.g. Margin or Padding • Or even a business logic
  4. Stateless Widget Jalandhar • Dumb Widget • It doesn’t know

    anything • Gets render only once or • When the parent widget changes the configuration
  5. Stateful Widget Jalandhar • Dynamic widget which has its own

    properties • Those property is know as state of the widget • The state of the widget can be changed by user input, any operation or other widget’s state change. • setState() method is used to change the state. • Each time widget gets rebuild when setState() method gets called.
  6. Speaker List App... • We need to add some padding.

    • For that we have Padding widget & we will wrap our Container Widget to Padding Widget
  7. Speaker List App :) • Widgets we used ◦ MaterialApp

    ◦ Scaffold ◦ AppBar ◦ Text ◦ ListView ◦ ListTile ◦ Padding ◦ Container ◦ BoxDecoration ◦ Border ◦ BorderRadius
  8. Futter benefits • Easy to understand • Less Time consuming

    • Code Length: ~50 line of code • And you get iOS app free
  9. Firebase helps you to Jalandhar • “Build” Better Apps •

    “Improve” app quality • “Grow” your business
  10. Firebase - “Build” better apps Jalandhar • Realtime Database ◦

    Cloud Firestore (Beta) • Authentication • ML Kit(Beta) • Hosting • Cloud Storage • Cloud Functions
  11. Firebase - “Grow” your business Jalandhar • Google analytics •

    Cloud messaging • Dynamic links • Remote config • App indexing • Test Lab • A/B Testing (Beta) • Predictions (Beta)
  12. Firebase console Jalandhar • Open Firebase console • Create new

    app • Integrate platform specific code • For Android: Download google-services.json file • For iOS: GoogleService-Info.plist