showRight static method
Implementation
static DialogShower showRight(Widget child, {bool? fixed, double? width, double? height, String? key}) {
DialogShower shower = show(child, width: width, height: height, key: key);
if (fixed == true) {
shower.alignment = Alignment.topRight;
shower.padding = const EdgeInsets.only(top: -1, right: 16);
} else {
shower.alignment = Alignment.centerRight;
shower.padding = const EdgeInsets.only(right: 16);
}
shower.transitionBuilder = ShowerTransitionBuilder.slideFromRight;
return shower;
}