Skip to content

theshivamlko/flutter-desktop-linux-snapcraft

Repository files navigation

Image

Counter

Counter is a Flutter Desktop app for LINUX OS, a demo app published on Snapcarft Store. Install app using snap install counter

Open Source Love navoki-notes

Get it from the Snap Store

Image Youtube

Image Navoki.com

Screenshots

Video

IMAGE ALT TEXT HERE

Getting Started

This project is made with Flutter Framework, Firebase Authentication, Cloud Firestore and Adobe XD Flutter plugin.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Installation and Config

  • Install Flutter SDK from official site.
  • Setup Environment for Desktop
  • Check if platform is shows for project by running flutter devices

Build Project

  • To run and build project run command flutter build <device-name>
  • To get devices list, run flutter devices

NOTE:

  • Also, install build tools for each platforms to run on that platform. Follow links above.
  • Flutter Desktop is not stable yet so you might face some issue, till now I have faced few app crashes on desktop but feature is implemented and app is running. For Linux app you need to build project and run using flutter run -d linux

Learning

Few things I have used that you can work to understand flutter development.

  • Create Flutter Desktop project
  • Setting Flutter Desktop environment for Flutter SDK
  • Publish Flutter Desktop on Snapcraft Store

You can build your own project on this just by changing dart code in lib folder.

My Flutter and Tools version:

flutter doctor -v

[✓] Flutter (Channel master, 1.19.0-2.0.pre.140, on Mac OS X 10.15.5 19F83c,
    locale en-IN)
    • Flutter version 1.19.0-2.0.pre.140 at /Users/shivam/Documents/flutter
    • Framework revision 852a30b003 (41 minutes ago), 2020-05-22 03:27:03 +0530
    • Engine revision 9ce1e5c5c7
    • Dart version 2.9.0 (build 2.9.0-10.0.dev 7706afbcf5)

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/shivam/Library/Android/sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)

[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C505
    • CocoaPods version 1.9.1

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.5.1)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.5.29920.165

[✓] Linux toolchain - develop for Linux desktop
    • clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
    • cmake version 3.10.2
    • ninja version 1.8.2

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.8052
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)

[✓] VS Code (version 1.44.2)
    • Flutter extension version 3.9.1

Contribution

This project is open to all kinds of contribution in all of its categories.You can add more features and bug fixes in this code. DO NOT send PR for rename of file and variables, formatting code or other low-quality changes. Focus on making this BIGGER!

Support

If you found this project helpful then show some support by ⭐ the repo and subscribe to my YoutubeChannel and Newsletter for latest updates in dev world. It will encourage me to make more videos and tutorials. Comment on youtube channel for more tutorials

Project Created & Maintained By

SHIVAM SRIVASTAVA

Mobile Solution Architect, #Android and #Flutter Developer, #Dart, Maybe #Go, #Founder of Navoki.com, #Google Scholar #Udacity Android #Nanodegree, Entrepreneur

License

Copyright 2020 Shivam Srivastava

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.