fractionallySizedBox method
Widget
fractionallySizedBox({
- Key? key,
- AlignmentGeometry alignment = Alignment.center,
- double? widthFactor,
- double? heightFactor,
百分比布局
Implementation
Widget fractionallySizedBox({
Key? key,
AlignmentGeometry alignment = Alignment.center,
double? widthFactor,
double? heightFactor,
}) =>
FractionallySizedBox(
key: key,
alignment: alignment,
widthFactor: widthFactor,
heightFactor: heightFactor,
child: this,
);