Can be used to wrap as a contain fit of the FittedBox.
Widget objectContain({Key? key}) => FittedBox( key: key, fit: BoxFit.contain, child: this, alignment: Alignment.center, );