EzScreen constructor
const
EzScreen({
- Key? key,
- AlignmentGeometry? alignment,
- EdgeInsetsGeometry? padding,
- Color? color,
- Decoration? decoration,
- Decoration? foregroundDecoration,
- double? width = double.infinity,
- double? height = double.infinity,
- BoxConstraints? constraints,
- EdgeInsetsGeometry? margin,
- Matrix4? transform,
- AlignmentGeometry? transformAlignment,
- required Widget child,
- Clip clipBehavior = Clip.none,
Container wrapper that defaults to max size with a margin from EzConfig The Container is also wrapped in a GestureDetector for faking trackpad support Flutter has no easy way of implementing trackpad swipes, so a click and drag to the right will pop the stack
Implementation
const EzScreen({
// Container
this.key,
this.alignment,
this.padding,
this.color,
this.decoration,
this.foregroundDecoration,
this.width = double.infinity,
this.height = double.infinity,
this.constraints,
this.margin,
this.transform,
this.transformAlignment,
required this.child,
this.clipBehavior = Clip.none,
});