conditional_wrap 3.0.0 copy "conditional_wrap: ^3.0.0" to clipboard
conditional_wrap: ^3.0.0 copied to clipboard

A Flutter widget that allows you to conditionally wrap a child subtree with a parent widget

3.0.0 #

  • Removed NullSafeWrap, ConditionalWrap, and added WidgetWrapper to simplify the implementation. It is now required to provide the conditions inside wrapper function.

2.0.0 #

  • Renamed parent wrappers as wrapper since they do not pass any context.

1.0.0 #

  • Added NullSafeWrap widget.
  • Renamed parent builders as builder and fallback.
  • Removed context from builders to provide simplicity.

0.0.1 #

  • Initial release.
8
likes
160
points
1.77k
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter widget that allows you to conditionally wrap a child subtree with a parent widget

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on conditional_wrap