showWindow<T> function
void
showWindow<T>({
- @required BuildContext? context,
- RelativeRect? position,
- @required Widget? window,
- double elevation = 8.0,
- int duration = _windowPopupDuration,
- String? semanticLabel,
- MaterialType? type,
Implementation
void showWindow<T>({
@required BuildContext? context,
RelativeRect? position,
@required Widget? window,
double elevation = 8.0,
int duration = _windowPopupDuration,
String? semanticLabel,
MaterialType? type,
}) {
Navigator.push(
context!,
_PopupWindowRoute<T>(position: position!, child: window!, elevation: elevation, duration: duration, semanticLabel: semanticLabel, barrierLabel: MaterialLocalizations.of(context).modalBarrierDismissLabel, type: type!),
);
}