Header Image - Randall Morgan

Tag Archives

One Article

Getting Started With Flutter – Part 1 Introducing Flutter

by SysOps 0 Comments
This entry is part 1 of 1 in the series Getting Started With Flutter

As I began to write this morning, I had Chrome open to the gitter.imflutter page. I’ve been a regular there for more than a month now.  Tismorning was unique. First a post was made that this past month had more traffic on the flutter site than any previous month. Second, that several people, myself included found that the flutter.io page was down do to exhausting it’s bandwidth for the month. Luckily, Google had it back up within a couple hours! This goes to show how popular flutter is becoming.

While flutter has been around a year or two, it is still has not been released for production. This past year flutter showed a great amount of growth as it is begining to come of age. This new level of maturity has cuased those like myself (who desire to build mobile apps for multiple platform from a single code base) take the leap. Yes, it is a risky venture. We all know how technologies tend to come and go and more often than not, end up as vapor ware. However, with flutter the risk is mitagatedsome by the fact that Google is both actively developing it and using it internally. They have been pushing it to their partners and have made flutter and it’s underlying dart language open sourced.

Now if you haven’t heard of flutter, you may be asking what it is. Flutter is a cross platform mobile development framework from Google. It is built on the Dart programming language. Dart is Google’s answer to some of the odities and limitations of Javascript. Be forewarned however, that Dart is different. Coming from a C background I find Dart has some peculiarities.  So it has taken me a bit to get comfortable with it. Still, I find that things don’t always work the way I think they should. This however, is just the learning curve that is more a result of my background inserting expectations on a language that is modeled on concepts foreign to the languages I have experienced in the past. This said, their are powerful features in Dart that make it well worth learning.

In this serries of articles I will walk you through some simple demos of flutter and it’s various features. At this point in flutter’s life, everyone is a noobe. The framework is still in it’s infancy so only the developers have a good grasp of all it’s workings. However, flutter is gaining steam and starting to get a foot hold in the App development market. People are already using it for major applications. Primarily because it reduces development time and does away with the need for multiple code bases to support multiple platforms.

So let’s get started building a simple app.

Prerequisites

Ok, to get started we need some tools and the Flutter platform. I’ll be using MS Code as an IDE mostly because it’s a simple IDE and has a Flutter plugin available. You can also use IBM IDEA, or Android Studio. You can infact use any Text Editor (Not a word processor) however, you’ll be missing the code highlighting and other features. There is plenty of info out there on the net on how to install this stuff. So rather than repeat it here, I’ll point you to the experts:

MS Code IDE: https://code.visualstudio.com/download

Flutter: https://flutter.io/setup/

Follow the instructions given on these sites to get your IDE and the Flutter framework setup. I’ll wait here until you’re done.

Ok, if you installed any of the three IDE’s I suggested, you can easily install the flutter plugin. In MS Code just search the plugins for flutter and install it.

Our First App

 

Newsletter Powered By : XYZScripts.com