objectNone method

Widget objectNone({
  1. Key? key,
})

Can be used to wrap as a none fit of the FittedBox.

Implementation

Widget objectNone({Key? key}) => FittedBox(
      key: key,
      fit: BoxFit.none,
      child: this,
      alignment: Alignment.center,
    );