show method

void show(
  1. BuildContext context
)

display the bottom picker popup context the app context to display the popup

Implementation

void show(BuildContext context) {
  showModalBottomSheet(
    context: context,
    isDismissible: dismissable,
    enableDrag: false,
    constraints: BoxConstraints(
      maxWidth: context.bottomPickerWidth,
    ),
    backgroundColor: Colors.transparent,
    builder: (context) {
      return BottomSheet(
        backgroundColor: Colors.transparent,
        enableDrag: false,
        onClosing: () {},
        builder: (context) {
          return this;
        },
      );
    },
  );
}