showFlModalBottomSheet function

dynamic showFlModalBottomSheet(
  1. BuildContext context, {
  2. required Widget child,
  3. String? title,
  4. String? subtitle,
  5. double? maxHeight,
})

Implementation

showFlModalBottomSheet(
  BuildContext context, {
  required Widget child,
  String? title,
  String? subtitle,
  double? maxHeight,
}) {
  showModalBottomSheet(
    context: context,
    builder: (context) => FlModalBottomSheet(
      title: title,
      subtitle: subtitle,
      maxHeight: maxHeight,
      child: child,
    ),
    isScrollControlled: true,
  );
}