toCenter method

Widget toCenter (
  1. {double widthFactor,
  2. double heightFactor,
  3. Key key}
)

------------------------------------------------------------------------ Center

Implementation

Widget toCenter({double widthFactor, double heightFactor, Key key}) {
  return Center(
    heightFactor: heightFactor,
    key: key,
    widthFactor: widthFactor,
    child: this,
  );
}