v_widgets

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

v widgets

Features #
Widget collection inspired by Vue.js conditional rendering.
Currently only supports Vif.
Usage #
To use Vif, simply pass in closures for test (returning bool), ifTrue (returning Widget) and
optionally ifFalse(Widget, defaults to SizedBox).
Vif(
test: () => _orienatation == Orientation.landscape,
ifTrue: () => _buildLandscape( context ),
ifFalse: () => _buildPortrait( context ),
)
copied to clipboard
Vif(
test: () => featureEnabled,
ifTrue: () => _buildFeature( context ),
)
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.