fitted method

FittedBox fitted({
  1. Key? key,
  2. BoxFit fit = BoxFit.contain,
  3. Alignment align = Alignment.center,
  4. Clip clip = Clip.none,
})

see FittedBox

Implementation

FittedBox fitted({
  Key? key,
  BoxFit fit = BoxFit.contain,
  Alignment align = Alignment.center,
  Clip clip = Clip.none,
}) =>
    FittedBox(
      key: key,
      fit: fit,
      alignment: align,
      clipBehavior: clip,
      child: this,
    );