flutter_portal 1.0.0-dev.1 flutter_portal: ^1.0.0-dev.1 copied to clipboard
Evolved Overlay/OverlayEntry - declarative not imperative, intuitive-context, and easy-alignment
1.0.0-dev.1 #
- New anchoring logic for advanced use cases #44 (@creativecreatorormaybenot for the main PR, @fzyzcjy for Flutter stable compatibility)
- Allow PortalEntry that binds to a ancestor but not nearest Portal #45 (@fzyzcjy)
- Enhance scope searching strategy: Defaults to "main" scope if provided #51 (@fzyzcjy)
- Sync those modified-from-Flutter code with latest Flutter code and some refactor (@fzyzcjy #50)
- Add debugLabel to ease debugging (@fzyzcjy)
- Fix
Failed assertion: '_lastOffset != null' in various cases
, which should exist in Flutter 2.8~2.10 and flutter_portal from old to new (@fzyzcjy #56) - New readme and documentations (@fzyzcjy)
0.4.0 #
- Stable null-safety release
0.4.0-nullsafety.0 #
- Migrated to null-safety (thanks to @Jjagg!)
0.3.0 #
-
Improved the dart-doc of Portal and PortalEntry
-
Added and improved the examples
-
Fixed a bug where changing the visibility of a portal destroys the state of
child
-
Adding a way to delay the disappearance of a portal entry:
PortalEntry( visible: visible, closeDuration: Duration(seconds: 2), portal: ..., child: ... )
With this code, when
visible
changes tofalse
, the portal will stay visible for an extra 2 seconds.This can be useful to implement leave animations. For example, the following implement a fade-out transition:
PortalEntry( visible: visible, closeDuration: Duration(seconds: 2), portal: AnimatedOpacity( duration: Duration(seconds: 2), opacity: visible ? 1 : 0, child: Container(color: Colors.red), ), child: ... )
0.2.0 #
- Update to support latest Flutter version
0.1.0 #
-
Changed the algorithm behind how portals/overlays are rendered.
This fixes some problems when combined withLayoutBuilder
-
Removed the generic parameter of
PortalEntry
0.0.1+2 #
Fix pub badge
0.0.1+1 #
Improve package description
0.0.1 #
Initial implementation