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

Building your First Flutter for Web App

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on. →

Building your First Flutter for Web App

- How to setup a Flutter app on web.
- Enable web support for an existing Flutter app
- Build and Run the Flutter Web app
- Tweak the app eg. change background color or texts
- An opening to now explore more on Flutter Web

Maureen Josephine

August 22, 2020

Transcript

12 slides
  1. Building your first Flutter for Web App Flutter Maureen Josephine

    Software Developer - Carepay Limited Twitter : @J_Akello
  2. What we’ll learn • How to setup a Flutter app

    on web. • Enable web support for an existing Flutter app • Build and Run the Flutter Web app • Tweak the app eg. change background color or texts • An opening to now explore more on Flutter Web
  3. What we'll use • Flutter SDK • Chrome browser •

    Text editor or IDE NB: Run your web app in Chrome in order to debug with Dart DevTools during development
  4. Enable Web Environment Run these Commands on Terminal $ flutter

    channel beta $ flutter upgrade $ flutter config --enable-web
  5. Create and Run Create a new Flutter Web project Using:

    $ flutter create flutter_web_kisumu $ cd flutter_web_kisumu To serve the app from localhost in Chrome run, $ flutter run -d chrome
  6. Add Web Support to Existing App $ flutter channel beta

    $ flutter upgrade $ flutter config --enable-web $ flutter create . $ flutter run -d chrome
  7. Let’s Modify the app - Change App’s default theme colors

    - Add some text - Add some icons - Build and run - And push code to Github

More Decks by Maureen Josephine

Other Decks in Technology