March 30, 2022
Simply add styles to any box-decoration
s using SASS and flutter-view
will now pick them up.
Now that we are creating null-safe code, there were some warnings that automatic code generates that do not impact our code and are more for correct code style. Default ignores are now added so you do not get unnecessary warnings.
Color weights of 50 could give an error. This has been fixed.
There are cases where you use ${...}
expressions inside text in a pug file,
and there flutter-view cannot know how to interpret quotes. As a workaround,
instead of escaping both "
and '
, flutter-view now only escapes '
. This
means you can always quote with double quotes to bypass and fix any quotation
issues.
For backwards compatibility, Assign has been fixed and is now type-safe.
To pass a type to an assign, pass the type in the name property. For example:
assign(name='User user' :^value='model.app.currentUser')
.welcome-message Hello ${user.name}
This has been updated with the new 2.2.4 version of the flutter-view-widgets
support library. Be sure to update your dependencies.
March 02, 2022
Flutter-view now generates null-safe code!
Besides flutter-view itself, the flutter-view-widgets
companion library
also got a null-safe update with flutter_view_widgets: ^2.0.0-dev.1
.
If you upgrade to the new version, please upgrade this dependency in your pubspec.yaml
.
Besides null-safety support, the following features and fixes were added:
assign
has been dropped, as it was an antipatternJanuary 10, 2022
Flutter-view has been updated to support the newest npm packages. This will remove any warnings when installing.
June 01, 2020
Flutter-view has been updated to support the letter-spacing CSS property. It directly translates to the same property in Flutter text.
Besides that the javascript libraries have been updated to the newest versions.
As always, please enjoy using Flutter-view, and if you have any questions, feel free to contact or leave an issue on the flutter-view repo.
Christian Vogel Twitter: @christianvogel
July 26, 2019
Flutter-view has been updated to use the new Flutter and Dart dependencies. Also, 1.0.1 has a fix for Dart text escaping having been changed.
Besides this, the flutter-view-tools utility library has been renamed to flutter-view-widgets. This was necessary because I no longer could update the old repository. Please update your dependencies to be able to follow future updates.
It has also been updated to version 1.0.6 with some small improvements.
I plan to add a new syntax to create flutter-views (not breaking the current implementation) that allows you to generate both functions and widgets.
As always, please enjoy using Flutter-view, and if you have any questions, feel free to contact or leave an issue on the flutter-view repo.
Christian Vogel Twitter: @christianvogel
January 09, 2019
As a new year start, Flutter-view 1.0.0 now has been released.
All known bugs have been fixed, so working with flutter-view makes creating interfaces in Flutter faster and easier than ever. The documentation is now also complete, with documentation of every supported tag and shortcut.
This all means there is no better time to get started with flutter-view!
As always, please enjoy using Flutter-view, and if you have any questions, feel free to contact or leave an issue on the flutter-view repo.
Christian Vogel Twitter: @christianvogel
December 04, 2018
Introducing Flutter-view, a new way to lay out and style your Flutter widgets.
After nearly five months of internal development, we can finally show you what we’ve been working on! What better moment than Flutter Live ‘18 to release it on?
We built flutter-view because it is something that helped us write our own Flutter app faster. It is used heavily at https://www.nineconnections.com to write our new app. Many thanks for Floris van den Grinten for contributing heavily into making flutter-view production ready.
One of the first things we noticed as we tried using Flutter for a big app, is that working with state within the widgets was a bit cumbersome and did not scale to a larger code base. We came from using Vue.js/Nuxt.js for our backend dashboard, and enjoying how fast we could develop for it. Our designers and web developers could chip in and contriute as we worked on the code base. In a way, flutter-view is a way to bring some of this enjoyment to developing with Flutter.
However we wanted to merge it with the strengths of Flutter. Flutter-view is only a light generator, always creating understandable code. It also respects the way Flutter names properties, and where no direct CSS property matches, we use the Flutter properties. Hot reload works as always, and if you use VS Code, we created some plugins so it even works on save.
As it is, the documentation is still incomplete. We rushed to get this all up and running, and documenting will get priority now.
Please enjoy using Flutter-view, and if you have any questions, feel free to contact.
Christian Vogel Twitter: @christianvogel