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


Microsoft Is Ending Support For Windows Android Subsystem
07/03/2024

Microsoft has announced that it is ending support for running Android applications under Windows 11. The support will cease next year. This announcement was followed rapidly by Amazon announcing the e [ ... ]



Open Source Key To Expansion of IoT & Edge
13/03/2024

According to the 2023 Eclipse IoT & Edge Commercial Adoption Survey Report, last year saw a surge of IoT adoption among commercial organizations across a wide range of industries. Open source [ ... ]


More News

raspberry pi books

 

Comments




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

Last Updated ( Monday, 10 January 2022 )