Flutter Introduces Mix
Written by Ian Elliot   
Monday, 10 January 2022

The Flutter team have released a new tool. Mix is described as providing a way to build Flutter design systems expressively and effortlessly.

Flutter is Google's open source mobile UI framework for crafting  native interfaces on iOS and Android. It was created as a combination of Google's Dart programming language and a runtime environment that is referred to as an app engine in Flutter.

flutter

The developers say Mix offers primitive building blocks to help developers and designers create beautiful and consistent user interfaces for their applications. The underlying aim is to make even complex design systems easily maintainable and scalable.

fluttermix

The concept underlying Mix is the use of a design system, a set of standards to be followed throughout the user interface to maintain consistency. In general, developers creating for Android follow the Material Design guidelines, for iOS use the Human Interface Guidelines, and for Windows follow Fluent Design System.

Mix is designed to offer developers a way to make their applications stand out from the apps following the traditional design systems in a similar way to the techniques used by big name brands.

Flutter has a Theme option that can be used for consistency across user interfaces but it doesn’t have an effect on all visual attributes, and Flutter widgets favor composition over inheritance.

Mix combines the use of the composition style of Flutter with inheritance for all attributes. It provides a simple API to compose design and layout attributes for widgets that can easily be extended, overridden, and combined. Mix uses utilities, functions that make it easier to compose an attribute. It also uses decorators, attributes that aren't usually part of a widget but that provide a way to specify the details of the 'missing' attributes.  Directives are used to modify the properties a widget does have, along with Design Tokens for attributes such as colors, text styles, and spacing. The advantage of using design tokens is that you can use the context reference values.

The team says that one of the most powerful features of Mix is the variant. These help in making the design system more flexible and reusable. A variant can be used for overriding certain properties of a Mix and it only applies to the widget(s) implementing the variant.

Flutter Mix is available now. 

flutter

More Information

Flutter Website

Flutter Mix Website

Related Articles

Flutter Improves Performance

Flutter 2.0 Increases Web Support

Flutter Adds Windows Support

Flutter Takes Off

Flutter 1.17 Released

LinkedIn Claims Flutter is Fastest Growing Skill For Software Engineers

All A Flutter - Google's Cross Platform App Framework Ready To Go

Google's Dart Reborn As Cross Platform App Language

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Firefox 1.0 Released 20 Years Ago
10/11/2024

A news item with the headline "Firefox browser takes on Microsoft" from 20 years ago has attracted renewed attention. It was originally published on the BBC News website on November 9th, 2004 rec [ ... ]



CSS Ecosystem In the Spotlight
06/11/2024

The 2024 edition of the State of CSS has been posted, revealing that the latest features of the language not only do away with extra tooling, but even start taking on tasks that previously requir [ ... ]


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Monday, 10 January 2022 )