HelpFirebase class
To host Flutter app on Firebase,
- Initialise firebase project:
firebase init hosting
- Set public directory (build output):
build/web
- Single page app for flutter.
- Generate hosting files with flutter:
flutter build web
- Upload hosting files from public directory to firebase:
firebase deploy
- Open URL in terminal
To use custom domain name,
- Go to Firebase console > Hosting to get records
- Go to Google domains and add records
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited