set parent widget in center
Widget center({double? heightFactor, double? widthFactor}) { return Center( heightFactor: heightFactor, widthFactor: widthFactor, child: this, ); }