NewBottomSheet function

void NewBottomSheet(
  1. BuildContext context
)

Implementation

void NewBottomSheet(BuildContext context) async {
  await showBarModalBottomSheet(
      // barrierColor: Colors.black54,
      expand: false,
      context: context,
      backgroundColor: Colors.transparent,
      builder: (context) =>
          NewView().backgroundColor(Theme.of(context).colorScheme.background));
}