customBottomSheet function

void customBottomSheet(
  1. BuildContext context,
  2. List<Widget> widgets
)

Implementation

void customBottomSheet(BuildContext context, List<Widget> widgets) {
  showModalBottomSheet(
    context: context,
    builder: (context) {
      return Padding(
        padding: const EdgeInsets.all(16),
        child: Column(
          children: widgets,
        ),
      );
    },
  );
}