Skip to content

Latest commit

 

History

History
60 lines (39 loc) · 2.54 KB

README.md

File metadata and controls

60 lines (39 loc) · 2.54 KB

Brew Crew Flutter Mobile App

A new Flutter Firebase project to store Brew Preference of your team members.


TERMINOLOGIES

Stream

  1. A source of asynchronous data events.
  2. You listen on a stream to make it start generating events, and to set up listeners that receive the events.
  3. You can process a stream using either await for or listen() from the Stream API.
  4. There are two kinds of streams: single subscription or broadcast.

Stream Builder

  1. StreamBuilder is a Widget that can convert a stream of user defined objects, to widgets.
  2. This takes two arguments:
    1. A stream
    2. A builder, that can convert the elements of the stream to widgets
  3. Widget that builds itself based on the latest snapshot of interaction with a Stream.

Provider

  1. You can use it to provide a value (usually a data model object) to anywhere in the widget tree.
  2. However, it won't help you update the widget tree when that value changes.

GlobalKey

  1. A key that is unique across the entire app.
  2. Global keys uniquely identify elements. Global keys provide access to other objects that are associated with those elements, such as BuildContext. For StatefulWidgets, global keys also provide access to State.
  3. GlobalKeys have two uses: they allow widgets to change parents anywhere in your app without losing state, or they can be used to access information about another widget in a completely different part of the widget tree.

Features

  1. Login and Signup using Email Id and Password through Firebase Auth.
  2. List Brew Preferences of all users on home page using Firebase Firestore.
  3. Update Brew Preferences and User name through settings icon in the App bar.
  4. Logout User.

Screenshots