SlideShare a Scribd company logo
Build Run First Web Application
Using Flutter For Web
Ever since Google released its first stable version in December
2018, Flutter has been the talk of the town. Since then, it is used
to build amazing functional applications that ensure seamless
performance. The intriguing characteristics and features of Flutter
have helped developers to experiment with building complex
applications using Flutter. During its initial days, Flutter app
developers just concentrated to build cross-platform mobile apps
for Android and iOS. However, web and desktop applications are
on the plate to be announced later.
Before flutter web development was implemented, the project is
recognized as HummingBird. And since the release of Flutter Web
preview on 7th May 2019, the flutter app development company
has been using it to build highly interactive, graphic-rich, and
engaging applications.
Being a Google’s brainchild, this open-source toolkit leverages
immense support in building a highly intuitive, responsive yet
incredible experience. Big labeled brands like Alibaba, eBay, and
The New York Times have already started reaping benefits of
this impactful framework.
With such an immense response, this article will help you to
understand Flutter architecture. It will also guide you with the
pre-requisites needed to build an app and how you can build
your first flutter app. So, let’s start with your first flutter app
development.
Flutter App Development Architecture
Flutter architecture for web applications is quite different as
compared to the mobile. It makes use of a variety of tools and
libraries to render browser support. The first layer of flutter web
app architecture consists of built-in tools, widgets, and themes.
Using flutter for web apps consists of an engine that generates
dart code and can be easily converted from HTML to CSS using
widgets. Further, the dart compiler displays the JavaScript code
on browsers. And this is how to flutter web app developer’s work
to build cross-platform web and mobile applications.
Few Key Takeaways of Flutter for Web apps
are:
1. The API for web and mobile app is the same; and only a few
features won’t be implemented in the web version.
2. The flutter for the web is slowly growing and the default
interactions are evolving. Hence, flutter for web app
applications provides a feel like a mobile app rather than a
web application.
3. Though Chrome is the only supported browser as of now,
other browsers like Safari, Edge, and Firefox are under a
plan to be implemented for use.
Now that you’ve got an idea about how flutter for web app works,
let’s start with how to build a basic flutter app in the web version.
Pre-Requisites To Build Flutter App:
To create a Flutter app with web support, you need the following
software:
● Flutter open-source Software development kit. If you want
to see the installation instructions, you can see here.
● Chrome browser to debug a web app.
● An IDE that supports the flutter web app. There are multiple
options available. You can install Visual Studio Code,
Android Studio, IntelliJ, IDEA, and install flutter and dart
plugins to enable language support and tools to run, debug,
reload and refactor the web app with an editor.
If you’re still confused and want to build your flutter app, you can
hire a flutter app developer from Concetto Labs. The company
holds 10+ years of experience in serving the industry with
award-winning complex yet interactive mobile and web
experience to 100+ clients across the globe.
Contact us now to discuss your flutter app idea
How to Build and Run the First Web App
Using Flutter?
Let’s create a new project with web support.
Setup
To setup flutter webview, run the below commands to use the
latest Flutter SDK from the beta channel along with enabling
web support:
The flutter channel beta
flutter upgrade
flutter config –enable-web
Once the web enables, the flutter device will command outputs a
chrome device that opens the chrome browser with your app
running and a web server will provide the URL that serves your
app.
flutter devices
2 connected device:
Web Server • web-server • web-javascript • Flutter Tools
Chrome • chrome • web-javascript • Google Chrome
81.0.4044.129
After enabling the web support, you can restart your IDE. Now
you can see the chrome and web server in the device pulldown.
Create and run
Creating a new flutter project with web support is nothing
different than creating a new flutter project for other platforms.
Once you’ve configured your development environment for web
support, you can create and run a web app wither in IDE or from
the command-line interface.
IDE
Once you’ve configured your environment to support web apps,
make sure to restart the IDE if it’s already in the running mode.
All you need to do is just create a new app in your IDE and it will
automatically create an Android, iOS, and Web version of your
application. From the device pulldown, you need to select the
chrome web and run your app to see if it’s launched in the
chrome or not.
Command-line
To create a new app that also includes web support along with
mobile support. You need to run the below commands eliminating
“myapp” with your project name.
flutter create my-app
cd myapp
To serve your app from the localhost in the Chrome, enter the
following command from the top of your package:
flutter run -d chrome
This command will launch the app using a development compiler in
the chrome browser.
Build
Now use the below command to generate a release build
flutter build web
The release build will make use of dart2js instead of the
development compiler to product the main JavaScript file
main.dart.js. Now you can create a release build using release
mode or either by using flutter build web. This will accumulate a
build directory with built files and will include an assets directory
that needs to be served together.
Also Read: Flutter on Web Browsers Finally – A Walkthrough
From Mobile to Desktop!
Adding Web Support to an Existing Application
If you’ve already created a project and want to extend it by
adding web support, you can run the following command from the
terminal from the root project directory.
flutter create
We hope that you’ve successfully built your first demo web app
using flutter with the help of this guide. However, if you still find
any confusion or query, you can hire our flutter experts that will
guide you with a detailed step to launch your first flutter demo
app.
You can even hire flutter developers from Concetto labs to
complete the on-going project.
Let’s schedule call
Wrapping up:
Global Network
USA
4811 N Harding Ave,
Chicago IL 60625
P: +1 (903) 200-8801
CANADA
1445 Rennie St Oshawa,
Ontario, L1K 0N9,CANADA
P: (416) 272-0981
INDIA
609/610,City Center Science
City Road
Ahmedabad - 380060
P: +919586777575
UK
6 Hastings Avenue
Ilford , IG6 1DZ
P: +44 (798) 560 0352
Web & Mobile App Development Company
https://www.concettolabs.com

More Related Content

PDF
Getting started with flutter
PPTX
Flutter for web
PDF
Build web applications using google flutter
PDF
Developer Student Clubs NUK - Flutter for Beginners
PDF
Build responsive applications with google flutter
PDF
Flutter Tutorial For Beginners | Edureka
PDF
What is flutter and why should i care?
PDF
What's new in flutter and dart in 2020
Getting started with flutter
Flutter for web
Build web applications using google flutter
Developer Student Clubs NUK - Flutter for Beginners
Build responsive applications with google flutter
Flutter Tutorial For Beginners | Edureka
What is flutter and why should i care?
What's new in flutter and dart in 2020

What's hot (20)

PPTX
What and Why Flutter? What is a Widget in Flutter?
PPTX
Flutter UI Framework
PDF
Building beautiful apps with Google flutter
PDF
Native mobile application development with Flutter (Dart)
PDF
Building beautiful apps using google flutter
PDF
The magic of flutter
PDF
Top five reasons you should prefer flutter app development
PDF
Google flutter the easy and practical way
PPT
Silverlight 2 with Visual Studio 2008 and Expression Blend
PDF
Flutter for web
PPTX
Rapid Prototyping with Cordova aka Phonegap
PPTX
Why choose flutter 2 over flutter 1
PDF
Developing Cross platform apps in flutter (Android, iOS, Web)
PDF
Pune Flutter Presents - Flutter 101
PDF
Flutter beyond hello world GCDC Egypt Devfest 2019
PDF
Flutter - DevFestDC
PDF
Google flutter the easy and practical way
PDF
[Alexandria Devfest] the magic of flutter
PPTX
Android Study Jams - Info Session
PDF
Flutter vs React Native 2019
What and Why Flutter? What is a Widget in Flutter?
Flutter UI Framework
Building beautiful apps with Google flutter
Native mobile application development with Flutter (Dart)
Building beautiful apps using google flutter
The magic of flutter
Top five reasons you should prefer flutter app development
Google flutter the easy and practical way
Silverlight 2 with Visual Studio 2008 and Expression Blend
Flutter for web
Rapid Prototyping with Cordova aka Phonegap
Why choose flutter 2 over flutter 1
Developing Cross platform apps in flutter (Android, iOS, Web)
Pune Flutter Presents - Flutter 101
Flutter beyond hello world GCDC Egypt Devfest 2019
Flutter - DevFestDC
Google flutter the easy and practical way
[Alexandria Devfest] the magic of flutter
Android Study Jams - Info Session
Flutter vs React Native 2019
Ad

Similar to Build run first web application using flutter for web (20)

PDF
Everything about flutter web development
PPTX
Complete guide to flutter app development
PPTX
How to Develop Progressive Web Apps in Flutter – Step by Step Guide.pptx
PDF
How to successfully build a Flutter web app?
PDF
Flutter for Web - A Comprehensive Outline.pdf
PPTX
DOCX
Flutter web development at Reasonable Price
PDF
How to develop a Flutter app.pdf
PDF
A Complete Guide to Building Your First App with Flutter
PDF
Developing cross platform apps in Flutter (Android, iOS, and Web)
PDF
What makes Flutter the Ideal Choice for Global Startups.pdf
PDF
A Prompt Guide For Building Flutter Web Apps.pdf
DOCX
What makes Flutter the Ideal Choice for Global Startups.docx
PDF
Google flutter app development
PDF
Use Firebase to Host Your Flutter App on the Web
PDF
Why Flutter.pdf
PDF
Build beautiful native apps in record time with flutter
PDF
Why is flutter mobile app development mostly recommended for your business
PDF
Flutter for Web App Development: Exploring the Possibilities
PPTX
The new web early adopter program is now open with flutter
Everything about flutter web development
Complete guide to flutter app development
How to Develop Progressive Web Apps in Flutter – Step by Step Guide.pptx
How to successfully build a Flutter web app?
Flutter for Web - A Comprehensive Outline.pdf
Flutter web development at Reasonable Price
How to develop a Flutter app.pdf
A Complete Guide to Building Your First App with Flutter
Developing cross platform apps in Flutter (Android, iOS, and Web)
What makes Flutter the Ideal Choice for Global Startups.pdf
A Prompt Guide For Building Flutter Web Apps.pdf
What makes Flutter the Ideal Choice for Global Startups.docx
Google flutter app development
Use Firebase to Host Your Flutter App on the Web
Why Flutter.pdf
Build beautiful native apps in record time with flutter
Why is flutter mobile app development mostly recommended for your business
Flutter for Web App Development: Exploring the Possibilities
The new web early adopter program is now open with flutter
Ad

More from Concetto Labs (20)

PDF
How AI in Education is Transforming Classrooms Worldwide.pdf
PDF
What is the Role of AI in the Sports Industry_.pdf
PDF
Which are The Top 6 Microsoft PowerApps Use Cases with Examples_.pdf
PPTX
Best Outsourcing Quality Assurance Service Tips for Boosting your Business.pptx
PPTX
Guide on Developing Mood Tracker App.pptx
PPTX
Which are the Skills_Tools required for Becoming a Mobile QA Engineer_.pptx
PPTX
Complete Guide_ Mobile App Navigation Designs.pptx
PPTX
The Top 15 Mobile App Development Trends to Watch for in 2022.pptx
PPTX
How Does Metaverse Affect E-Commerce Business_.pptx
PDF
Smart Building Technology_ Concept, Features, and Application.pdf
PDF
How to Develop Your Own Music Streaming App with Unique Features_.pdf
PPTX
What are the Cost and Key Features of On-Demand Car Wash App Development Serv...
PDF
What are the Cost and Key Features of On-Demand Car Wash App Development Serv...
PDF
Developing a Healthcare Mobile App_ Types, Examples, and Features.pdf
PDF
Laravel 9_ Everything You Need To Know About The Latest Major Release.pdf
PDF
The Complete Guide to API Development in 2022.pdf
PDF
What Is Mobile Device Testing and Best Practices For Mobile Testing_.pdf
PDF
9 Best Design Patterns in iOS to Develop Powerful iPhone Apps.pdf
PPTX
9 Best Design Patterns in iOS to Develop Powerful iPhone Apps.pptx
PPTX
How To Develop A Logistics & Transportation Mobile App_.pptx
How AI in Education is Transforming Classrooms Worldwide.pdf
What is the Role of AI in the Sports Industry_.pdf
Which are The Top 6 Microsoft PowerApps Use Cases with Examples_.pdf
Best Outsourcing Quality Assurance Service Tips for Boosting your Business.pptx
Guide on Developing Mood Tracker App.pptx
Which are the Skills_Tools required for Becoming a Mobile QA Engineer_.pptx
Complete Guide_ Mobile App Navigation Designs.pptx
The Top 15 Mobile App Development Trends to Watch for in 2022.pptx
How Does Metaverse Affect E-Commerce Business_.pptx
Smart Building Technology_ Concept, Features, and Application.pdf
How to Develop Your Own Music Streaming App with Unique Features_.pdf
What are the Cost and Key Features of On-Demand Car Wash App Development Serv...
What are the Cost and Key Features of On-Demand Car Wash App Development Serv...
Developing a Healthcare Mobile App_ Types, Examples, and Features.pdf
Laravel 9_ Everything You Need To Know About The Latest Major Release.pdf
The Complete Guide to API Development in 2022.pdf
What Is Mobile Device Testing and Best Practices For Mobile Testing_.pdf
9 Best Design Patterns in iOS to Develop Powerful iPhone Apps.pdf
9 Best Design Patterns in iOS to Develop Powerful iPhone Apps.pptx
How To Develop A Logistics & Transportation Mobile App_.pptx

Recently uploaded (20)

PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPTX
A Presentation on Artificial Intelligence
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPT
Teaching material agriculture food technology
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Modernizing your data center with Dell and AMD
PDF
Electronic commerce courselecture one. Pdf
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
KodekX | Application Modernization Development
PPTX
Cloud computing and distributed systems.
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
Reach Out and Touch Someone: Haptics and Empathic Computing
Network Security Unit 5.pdf for BCA BBA.
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Diabetes mellitus diagnosis method based random forest with bat algorithm
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
A Presentation on Artificial Intelligence
Encapsulation_ Review paper, used for researhc scholars
NewMind AI Weekly Chronicles - August'25 Week I
The Rise and Fall of 3GPP – Time for a Sabbatical?
Teaching material agriculture food technology
Unlocking AI with Model Context Protocol (MCP)
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Modernizing your data center with Dell and AMD
Electronic commerce courselecture one. Pdf
Empathic Computing: Creating Shared Understanding
Digital-Transformation-Roadmap-for-Companies.pptx
KodekX | Application Modernization Development
Cloud computing and distributed systems.
Advanced methodologies resolving dimensionality complications for autism neur...

Build run first web application using flutter for web

  • 1. Build Run First Web Application Using Flutter For Web
  • 2. Ever since Google released its first stable version in December 2018, Flutter has been the talk of the town. Since then, it is used to build amazing functional applications that ensure seamless performance. The intriguing characteristics and features of Flutter have helped developers to experiment with building complex applications using Flutter. During its initial days, Flutter app developers just concentrated to build cross-platform mobile apps for Android and iOS. However, web and desktop applications are on the plate to be announced later. Before flutter web development was implemented, the project is recognized as HummingBird. And since the release of Flutter Web preview on 7th May 2019, the flutter app development company has been using it to build highly interactive, graphic-rich, and engaging applications.
  • 3. Being a Google’s brainchild, this open-source toolkit leverages immense support in building a highly intuitive, responsive yet incredible experience. Big labeled brands like Alibaba, eBay, and The New York Times have already started reaping benefits of this impactful framework. With such an immense response, this article will help you to understand Flutter architecture. It will also guide you with the pre-requisites needed to build an app and how you can build your first flutter app. So, let’s start with your first flutter app development.
  • 4. Flutter App Development Architecture Flutter architecture for web applications is quite different as compared to the mobile. It makes use of a variety of tools and libraries to render browser support. The first layer of flutter web app architecture consists of built-in tools, widgets, and themes. Using flutter for web apps consists of an engine that generates dart code and can be easily converted from HTML to CSS using widgets. Further, the dart compiler displays the JavaScript code on browsers. And this is how to flutter web app developer’s work to build cross-platform web and mobile applications.
  • 5. Few Key Takeaways of Flutter for Web apps are: 1. The API for web and mobile app is the same; and only a few features won’t be implemented in the web version. 2. The flutter for the web is slowly growing and the default interactions are evolving. Hence, flutter for web app applications provides a feel like a mobile app rather than a web application. 3. Though Chrome is the only supported browser as of now, other browsers like Safari, Edge, and Firefox are under a plan to be implemented for use. Now that you’ve got an idea about how flutter for web app works, let’s start with how to build a basic flutter app in the web version.
  • 6. Pre-Requisites To Build Flutter App: To create a Flutter app with web support, you need the following software: ● Flutter open-source Software development kit. If you want to see the installation instructions, you can see here. ● Chrome browser to debug a web app. ● An IDE that supports the flutter web app. There are multiple options available. You can install Visual Studio Code, Android Studio, IntelliJ, IDEA, and install flutter and dart plugins to enable language support and tools to run, debug, reload and refactor the web app with an editor.
  • 7. If you’re still confused and want to build your flutter app, you can hire a flutter app developer from Concetto Labs. The company holds 10+ years of experience in serving the industry with award-winning complex yet interactive mobile and web experience to 100+ clients across the globe. Contact us now to discuss your flutter app idea
  • 8. How to Build and Run the First Web App Using Flutter?
  • 9. Let’s create a new project with web support. Setup To setup flutter webview, run the below commands to use the latest Flutter SDK from the beta channel along with enabling web support: The flutter channel beta flutter upgrade flutter config –enable-web
  • 10. Once the web enables, the flutter device will command outputs a chrome device that opens the chrome browser with your app running and a web server will provide the URL that serves your app. flutter devices 2 connected device: Web Server • web-server • web-javascript • Flutter Tools Chrome • chrome • web-javascript • Google Chrome 81.0.4044.129 After enabling the web support, you can restart your IDE. Now you can see the chrome and web server in the device pulldown.
  • 11. Create and run Creating a new flutter project with web support is nothing different than creating a new flutter project for other platforms. Once you’ve configured your development environment for web support, you can create and run a web app wither in IDE or from the command-line interface.
  • 12. IDE Once you’ve configured your environment to support web apps, make sure to restart the IDE if it’s already in the running mode. All you need to do is just create a new app in your IDE and it will automatically create an Android, iOS, and Web version of your application. From the device pulldown, you need to select the chrome web and run your app to see if it’s launched in the chrome or not.
  • 13. Command-line To create a new app that also includes web support along with mobile support. You need to run the below commands eliminating “myapp” with your project name. flutter create my-app cd myapp To serve your app from the localhost in the Chrome, enter the following command from the top of your package: flutter run -d chrome This command will launch the app using a development compiler in the chrome browser.
  • 14. Build Now use the below command to generate a release build flutter build web The release build will make use of dart2js instead of the development compiler to product the main JavaScript file main.dart.js. Now you can create a release build using release mode or either by using flutter build web. This will accumulate a build directory with built files and will include an assets directory that needs to be served together. Also Read: Flutter on Web Browsers Finally – A Walkthrough From Mobile to Desktop!
  • 15. Adding Web Support to an Existing Application If you’ve already created a project and want to extend it by adding web support, you can run the following command from the terminal from the root project directory. flutter create
  • 16. We hope that you’ve successfully built your first demo web app using flutter with the help of this guide. However, if you still find any confusion or query, you can hire our flutter experts that will guide you with a detailed step to launch your first flutter demo app. You can even hire flutter developers from Concetto labs to complete the on-going project. Let’s schedule call Wrapping up:
  • 17. Global Network USA 4811 N Harding Ave, Chicago IL 60625 P: +1 (903) 200-8801 CANADA 1445 Rennie St Oshawa, Ontario, L1K 0N9,CANADA P: (416) 272-0981 INDIA 609/610,City Center Science City Road Ahmedabad - 380060 P: +919586777575 UK 6 Hastings Avenue Ilford , IG6 1DZ P: +44 (798) 560 0352
  • 18. Web & Mobile App Development Company https://www.concettolabs.com