Looking at the Main Features of the Beta Three Release of Dart's Flutter Framework

in #utopian-io6 years ago (edited)

flutter-logo.jpg

Repository

https://github.com/flutter/flutter

What Will I Learn?

  • You will learn how to use the new Bottom App Bar Widget
  • You will learn about the new Floating Action Button positional properties
  • You will learn how to animate the Floating Action Button using these positional properties
  • You will learn about the Chip Widget
  • You will learn about the new decoration properties for Text Input Field Widgets

Requirements

System Requirements:
OS Support for Flutter:
  • Windows 7 SP1 or later (64-bit)
  • macOS (64-bit)
  • Linux (64-bit)

Required Knowledge

  • A fair understanding aesthetics
  • A fair understanding of Mobile development and Imperative or Object Oriented Programming
  • Some understanding of UX design

Resources for Flutter and this Project:

Sources:

Flutter Logo (Google): https://flutter.io/
Google IO 2018 Image: https://events.google.com

Difficulty

  • Intermediate

Description

Outline and Overview

In this Flutter Video Tutorial, we take a look at the recent additions to the Flutter Framework to understand the trajectory of the framework as it moves forward. This includes taking a look at the new BottomAppBar widget, the new Chip widget features, the FloatingActionButton positional and animation properties and the TextFormField new decoration properties.

Outline for this Tutorial
Item 1: Google IO 2018 and the New Flutter Announcements

google-2018-io.jpg

Just today, the Google IO 2018 conference started and during this conference the Flutter team made a few announcements with regards to some of the new features of the framework. These features include new properties for existing widgets, new widgets and a push to promote Flutter as a production ready framework. In our Tutorial, we take a look at many of these new features and we talk about some of the changes to the ecosystem as well as how the framework will evolve going forward. With many of the new Flutter features mainly being quality of life improvements, the Framework is gaining better customization and ease of use. Also, the beta three release marks pushes the framework and community forward towards the eventual release candidate.

Item 2: The Bottom App Bar Widget

It has been possible to add widgets to the bottom of the scaffold in a Flutter application since the days of early alpha. The release of the new Bottom App Bar widget introduces a more standardized method of doing this. Now we have a container that follows the mobile specifications which allows the developer to easily create a native looking application bar. One of the main features of the Bottom App Bar is that it will generate a notch for certain widgets to better integrate those widgets into the interface.

bottom_bar.jpg

In this image, you can see the Bottom App Bar that we built for this application. This bar features a Button Bar widget filled with four different icon buttons and a notch which fits around the Floating Action Button. This notch is created programmatically as the application renders out the scaffold geometry and the Floating Action Button's position.

Item 3: New Floating Action Button Features and Properties

A Floating Action Button or FAB is a circular or rounded rectangular icon that hovers over the content of your page. The FAB is typically attached to a primary action of the application. This feature is built directly into the Scaffold Widget as a widget that can be placed in the bottom right corner of your application's screen. The new properties for the FAB allow us to position it various different places on the screen. We can position the FAB on the right corner either docked with the Bottom App Bar or not, and we can position the FAB in the center as well.

FAB_CODE.jpg

In this image, you can see the FAB code that was used in this application. We have a simple FAB widget in the Floating Action Button property of the scaffold and it has an icon on it and an onPressed function. We also are able to specify the position of the FAB using the Floating Action Button Location property.

Item 4: Animating the Floating Action Button

As a result of us being able to change the location of the FAB in our program, we can also animate the FAB using a new property called the Floating Action Button Animator. Animating the FAB allows us to give the user a fair amount of feedback and it also allows us to make our application more reactive. We can change the Scale, Location and Rotate the FAB using this property.

FAB.gif

This Gif showcases the animation that we implemented in this application. We made it so that when the user pushed the FAB, it shrinks in size and rotates. While shrinking, the notch behind the FAB also starts to shrink until it disappears entirely. Once the FAB and notch shrink into nothing, the animation then reverses itself and the button increases in size until it returns to its original size.

The source code for this project can be found here

Video Tutorial

Projects and Series

Stand Alone Projects:
Building a Calculator
Movie Searcher Application

Minesweeper Game

Weather Application

Curriculum

Proof of Work Done

https://github.com/tensor-programming

Sort:  

Great work and very update information @tensor.

Your contribution has been reviewed and scored accordingly.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

Thank you as always for moderating my contributions and thank you for the feedback.

Hey @tensor
Thanks for contributing on Utopian.
We're already looking forward to your next contribution!

Contributing on Utopian
Learn how to contribute on our website or by watching this tutorial on Youtube.

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Coin Marketplace

STEEM 0.24
TRX 0.11
JST 0.031
BTC 60936.15
ETH 2921.43
USDT 1.00
SBD 3.70