Building HashTrack with Flutter: Main class and Localization setup

If you haven’t check out the previous post in these series, then you can do so here: Building HashTrack with Flutter: Intro and setup You can also find the code for this guide here: Now that our project is setup, we’re ready to go ahead and start building our application. In this post we’re going to setup the core classes used to launch our application, followed by adding support for localization. Throughout this series we’re only going to support a single Locale, but having this support in place from the start makes it easier for us to add more supported…

Building HashTrack with Flutter: Intro and setup

Welcome to the first post of this little series that I’m going to be publishing ~ every week from now. In this collection of posts I want to run you through creating a simple app with Flutter. Within this series we’ll be creating an application that allows us to track a collection of hashtags for both Twitter and Instagram, making it easy for us to view feeds of data for these tags whenever we desire. Building this application will allow us to learn how to: Setup a Flutter project within Android Studio Explore, create and use a collection of screens…

Authenticating users with Firebase and Flutter

When it comes to building apps, it’s likely that you’re going to want to perform some sort of user authentication, data storage or some other related tasks. Luckily for us, there are a collection of tools available from Firebase that allow us to achieve such things — some of these tools are also available for use with Flutter in the form of packages. In this post, I want to take a quick look at how we can perform authentication in our Flutter applications using Firebase. We need to begin by adding the Firebase Auth package to our pubspec.yaml file, once you’ve done…

Implementing text input in Flutter apps

In an app I’m working on I needed to allow the user to input some data before sending it off to a server. This is quite a common task for applications to implement, so in this post lets take a look at how we can do this in our Flutter apps. When it comes to textual input in Flutter apps there is one two widgets that you’re probably going to use — this is the TextField and the TextFormField. The TextFormField is simply a wrapped TextField that provides us with some extra functionality such as input validation. However, in this post we’re…

Bottom sheets in Flutter

Bottom sheets are views which we can display at the bottom of the screen to display content to the user — this may be to prompt further interaction or display some form of other content to the user. These are always anchored at the bottom of the screen and be easily hidden from view by the user. In Flutter we get two kinds of bottom sheet widgets out of the box, this is the Persistent Bottom Sheet and the Modal Bottom Sheet — so let’s take a look at how these work and what we have to do to get them in our apps….

Stateful or Stateless widgets?

When building Flutter applications we use widgets to construct our User Interface. When it comes to these widgets there is one of two types which it can be — either stateful or stateless. In this post I want to take a look at these different types of widgets so that we can get a better understanding of them and know which one to use when it comes to defining our own widgets. Stateless widgets There are cases where you’ll create widgets that don’t need to manage any form of internal state, this is where you’ll want to make use of the StatelessWidget….

Introducing the FlutterDoc publication

Flutter is a UI framework from Google that can be used to build native experiences that works across popular platforms. When I first discovered Flutter last year I decided to take a bit of a look into it. Now, to be honest, I’ve always been skeptical of frameworks that off cross-platform support —unfortunately I feel like that is a common theme amongst developers, which I am myself guilty of. But I’m a pretty curious person, so I decided to check out the sample apps in the app store and after having a play with the framework myself, I was sold….