How do I navigator.push a showModalBottomSheet for flutter?

How do I navigator.push a showModalBottomSheet for flutter? class SetRepeatButton extends StatefulWidget { @override _SetRepeatButtonState createState() => _SetRepeatButtonState(); } class _SetRepeatButtonState extends State<SetRepeatButton> { void _repeatMenu(BuildContext context) { showModalBottomSheet( shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(20.0), ), backgroundColor: Colors.white, context: context, builder: (builder) => Padding( padding: const EdgeInsets.all(20.0), child: Container( height: MediaQuery.of(context).copyWith().size.height / 3, child: Column( children: <Widget>[…

Details