FractionalScreen constructor
const
FractionalScreen({
- Key? key,
- double widthFactor = 1.0,
- double heightFactor = 1.0,
- Axis direction = Axis.vertical,
- bool scrollable = true,
- MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
- MainAxisSize mainAxisSize = MainAxisSize.max,
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
- TextDirection? textDirection,
- VerticalDirection verticalDirection = VerticalDirection.down,
- TextBaseline? textBaseline,
- EdgeInsets padding = EdgeInsets.zero,
- bool? safeArea,
- required List<
Widget> children,
Implementation
const FractionalScreen({
super.key,
this.widthFactor = 1.0,
this.heightFactor = 1.0,
this.direction = Axis.vertical,
this.scrollable = true,
this.mainAxisAlignment = MainAxisAlignment.start,
this.mainAxisSize = MainAxisSize.max,
this.crossAxisAlignment = CrossAxisAlignment.center,
this.textDirection,
this.verticalDirection = VerticalDirection.down,
this.textBaseline,
this.padding = EdgeInsets.zero,
this.safeArea,
required this.children,
});