yudiz_modal_sheet 0.0.3 copy "yudiz_modal_sheet: ^0.0.3" to clipboard
yudiz_modal_sheet: ^0.0.3 copied to clipboard

A modal sheet that can also be shown from top of the screen

A modal sheet that can also be shown from top of the screen. Advantages over the original modal sheet:

  • It respects the setState()
  • It intercepts touch events and does not dismisses

Usage #

To use this package, use the following dependency :

   dependencies:
     flutter:
       sdk: flutter
     yudiz_modal_sheet:

How to use #

YudizModalSheet.show(
    context: context,
    child: Container(
      color: Colors.white,
      height: 250,
      child: Center(
        child: Text("Hello from top"),
      ),
    ),
    direction: YudizModalSheetDirection.TOP);

Screenshots #

Getting Started #

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

4
likes
10
pub points
40%
popularity

Publisher

unverified uploader

A modal sheet that can also be shown from top of the screen

Homepage

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on yudiz_modal_sheet