showBottom static method

DialogShower showBottom(
  1. Widget child, {
  2. double? width,
  3. double? height,
  4. String? key,
})

Implementation

static DialogShower showBottom(Widget child, {double? width, double? height, String? key}) {
  DialogShower shower = show(child, width: width, height: height, key: key);
  shower.alignment = Alignment.bottomCenter;
  shower.padding = const EdgeInsets.only(bottom: 16);
  shower.transitionBuilder = ShowerTransitionBuilder.slideFromBottom;
  return shower;
}