mix
mix copied to clipboard
A styling system for Flutter
https://github.com/leoafarias/mix/pull/87 Added the following endpoints - `/docs/mixable_widgets/box` - `/docs/mixable_widgets/text_mix` - `/docs/mixable_widgets/pressable` - `/docs/variants/not` - `/docs/variants/usage` - `/docs/variants/catalog/text_styling`
#88 must be merged first go to `/docs/concepts/variants`
Would love to have: ``` bgColor -> bgc border -> br borderColor -> brc borderWidth -> brw borderStyle -> brs rounded -> rd squared -> sq shadow -> sh ```...
This would be a variant that would react to a keyboard key press. It'd be something like: ```dart final mix = Mix( key(LogicalKeyboardKey.enter)( bgColor(Colors.red), ), ); ``` The `key()` would...
Mix currently allows for the creation of functional widgets. However for usability and performance reasons it would be great to have a widget to be built automatically from a Mix....
How to style/create text input that react on keyboard events and mouse?
Reading the documentation ```dart TextMix( 'Mix is AWESOME!' mix: Mix( fontSize(16.0), textColor(Colors.black), bold(), textShadow( offset: const Offset(2.0, 2.0), ), ), ), ``` My understanding is that a mix passed as...
Not really an issue, but a progress report. I've been looking over Souvik Biswas example app (https://github.com/sbis04/mix-design-samples), which provides good examples but isn't intuitive to use. I've punched that up...
If I'm reading this correctly, _Variants_, _Decorators_, _Design Tokens_, and _Directives_ are 'non-simple' (or 'active' or 'functional' or 'behavioral') attributes. Whereas the 'simple' attributes add or set basic styling properties...
- Refactored MixContext to allow for more dynamic Attribute conversion. - Simplified props conversion - Reorganized folder structure ## Breaking Changes - InheritedAttribute is not a Generic anymore