You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Welcome to Flutter Markup Language Version 2.0.0! We have some exciting upgrades that make a massive difference in both performance, ease of templating, and more!
Many of you have noticed the large gap in release schedule. This was due to the amount of restructure and testing to vastly improve layout ease and performance, with a few experimental iterations going in along the way!
Now that that's out of the way, we have a consistent release and fix schedule with many improved features planned and as usual, up to date bug fixes as they're reported!
The extension currently comes with syntax highlighting, code snippets, and a Realtime preview with hot reload of your template within VSCODE!
Linting will be coming within the next couple of months as well!
Continue reading below for the full release notes:
New Features:
- VSCode Extension for FML released in beta! This contains code snippets, syntax highlighting, and a live Template Preview with hot reload!
- New VIDEO Widget has been added to conform with licenses.
- New ALARM widget addded for all FormFields.
- New FIELD widget added for non visual data within forms.
- New constraint system for added performance and predictability of layout.
- All layout widgets now inherit BOX's decoration attributes, and have a defined layout structure.
- SBOX created as a shorthand for a non expanding box.
- Added LABEL to chart.
- Added set() event to datasources to fill data.
- added distance() eval to compute haversine distance between two coordinates.
- **New**
- Added selectable lists, and grids, and the ability to bind to a list item prototype
- Added onclick to list item
- Added selectable text
- Added codeblock into text markdown, improved parsing
- Added SUBQUERY widget to allow for nested datasources to make rest calls.
Improvements:
- All FormField widgets have a consistent and controllable error state set by the system, widget, or alarm widget level.
- Error handling for camera screen tap improved.
- Improved splash and NFC prompts.
- Improved toast() event.
- Allow FORM to autofill from a data="datasource" base on field id's.
- STASH is now an accessable datasource.
- Improved pager with currentpage property.
- Remove stash keys when values are null.
- Improvements to theme colors on LIST.
- Button and label sizing and alignment improved.
- Improved MODAL with location based opening, better styled buttons.
- Improved CHART axis label sizing.
- Improved CHART axis visibility with data.
- Truncate CHART Y axis values at a certain length.
- Font size on CHART legend for better visibility.
- CHART theme improved.
- CHART added datetime axis tick lines.
- MAP MARKER now allows for any widget as child.
- MAP can now take multiple layers.
- CHART y axis added numeric tick lines.
- CHART selection enabled.
- Improved default layout size, color, and structure of all formfield widgets.
- Allowed check and radio to have a fuly clickable label area to select option.
- Onfail on GPS datasource.
- POPOVER now takes a data="" datasource to create a list of items.
- FORM inherits box layout removing the need to nest layout widgets in each form.
- **New**
- Fix typeahead hint color
- Allow ALARM to bind to this. to get value of parent
- MAP now fully operational with better zooming
- Colored emojis now working
- Allow scroller to have expand="false"
- Clarified chart types
- Fixed constraints on SIZE animation
- Added % size for min and max dimensions
Breaking Changes:
- The base layout and constraint system have been upgraded and ruleset altered. You can see the new layout basics and layout rules in the wiki for the full overview.
Deprecations:
- CENTER Widget is no longer used with the constraint system. center="true" attribute or halign and valign attributes can be used on any widget for alignment.
- PAD Widget is no longer reccomended as a wrapper. pad="" and margin="" attribute can be used on any layout widget, and will be taken into account during layout.
- SELECT type="typeahead" is no longer in the codebase. We now use the TYPEAHEAD widget to seperate function.
- EXPAND is no longer used. All widgets will attempt to share space by default, and flex="" will allow users to set a flexfactor on any widget.
- url= on DATA datasource is now value="".
- DATA datasource now must be passed the binding of a widgets data rather than the id of the widget.
Bug Fixes:
- FILTER transform widget features repaired.
- FORM Autoposting error fixes.
- Datasources can be called by id.function().
- Fixed endless busy and double validate() call in FORM.
- Fix incorrect datetime logging.
- Fix for flutter based double build on navigation.
- Fixed list notifier.
- Selectedcolor and selectedbordercolor all working for TABLE.
- Busy widget in FML store now displaying correctly when adding and removing app.
- Fixes for CHART mismatch between axis and chart types causing chart to fail.
- toBool no longer assesses yes and no as booleans.
- ios Updates to allow for build.
- DISTINCT transform now working.
- JSON interpretation on CHART and DATA improved.
- Fix for chart axis init error.
- BAR chart enforces string based x axis.
- Fixed default of password input to be obscured.
- Fix for transform, flip and slide ANIMATE if value not supplied.
- **New**
- Improved splitview function
- Map non nullsafe bug
- Scrollto event fix
- Resize up the tree when inner child resizes
- MAP can now display static markers
- Removed some cases that broke CHART
Codebase Improvements and Refactors:
- Upgraded to Flutter 3.10+
- Ensure all lint errors are now passed
- Updated naming conventions to comply with lints.
- Refactor and restructure to constraint system.
- Improved formfield inheritance structure.
- Updated pubspec
- Removed unused imports.
- **new**
- Upgraded all possible packages that do not effect older dependencies
- More code cleanup
- Upgraded to flutter 3.10.4
This discussion was created from the release v2.0.0.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Welcome to Flutter Markup Language Version 2.0.0! We have some exciting upgrades that make a massive difference in both performance, ease of templating, and more!
Many of you have noticed the large gap in release schedule. This was due to the amount of restructure and testing to vastly improve layout ease and performance, with a few experimental iterations going in along the way!
Now that that's out of the way, we have a consistent release and fix schedule with many improved features planned and as usual, up to date bug fixes as they're reported!
We would also like to take this chance to announce our release of the VSCODE Flutter Markup Language extension! The repo can be viewed here: https://github.com/AppDaddy-Software-Solutions-Inc/Flutter-Markup-Language-VS-Code-Extension for any issues and suggestions pertaining to the extension!
The extension currently comes with syntax highlighting, code snippets, and a Realtime preview with hot reload of your template within VSCODE!
Linting will be coming within the next couple of months as well!
Continue reading below for the full release notes:
New Features:
Improvements:
Breaking Changes:
Deprecations:
Bug Fixes:
Codebase Improvements and Refactors:
This discussion was created from the release v2.0.0.
Beta Was this translation helpful? Give feedback.
All reactions