v0.14.0
π New Features
Cupertino Modal Sheet Overlay Effect
Reported in #25, fixed in #403
We've added support for toning overlay effects on Cupertino-style modal sheets when stacking them, matching native iOS behavior. The new overlayColor parameter in CupertinoModalSheetPage and CupertinoModalSheetRoute allows applying a subtle overlay to background sheets when another sheet is presented, creating a more authentic iOS experience and improving visual hierarchy, especially in dark mode.
Usage:
CupertinoModalSheetPage(
overlayColor: const Color(0x33ffffff), // A translucent white color
child: MySheetContent(),
)