How to enable Flutter Web support in openSUSE Linux

Flutter can be used to create web applications, which is possible by enabling the feature. Before that I would like recommend the basic flutter setup on openSUSE post.

Flutter setup for openSUSE Linux

Lets Install Flutter for Linux development. As a open source project, we can install the flutter SDK from GitHub.

The prerequisites

In order to clone the repository we have to use git. In case your SUSE doesn’t know what it is, let’s install it with zypper. Also recommend to have Visual Code /Atom for editing the code.

The following post may help you to install VS Code and Atom on Linux

Install the git

sudo zypper install git

Clone the repo

Get the latest stable version from GitHub repository or alternatively can download from flutter site

git clone -b stable --depth 1

Use the -b option to clone the stable version

Setup the path variable

You also need to set the path variable using the shell command as follows.

export PATH="$PATH:pwd/flutter/bin"

Call the Doctor

run Flutter doctor command to inspect status of your Flutter SDK

Flutter Doctor

Android IOS development

For Android you have to install the Android Studio for development tool support which can be download from official website.

For official documentation visit

Enable web feature

Before starting make sure you have chrome/chromium installed on your system. Otherwise the feature may not work

For enabling the web feature we have to switch to the beta channel ( web feature is an experimental feature and official full support is not yet released)

flutter channel beta
flutter upgrade
flutter config --enable-web

Run the flutter device command again and then check the web feature is list or not by using

flutter devices

and it will list the web feature

Test Run

Create sample Flutter project

flutter create myweb_app
Flutter Web on openSUSE

run the app using flutter run command

flutter run -d chrome

For building the web we can use

flutter build web

Published by


A developer,teacher and a blogger obsessed with Python,Dart and open source world from India

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.