SizedBoxResponsive.shrink constructor

const SizedBoxResponsive.shrink({
  1. Key? key,
  2. Widget? child,
})

Creates a box that will become as small as its parent allows.

Implementation

const SizedBoxResponsive.shrink({Key? key, Widget? child})
    : super(key: key, child: child, width: 0, height: 0);