AutoWidget constructor

const AutoWidget({
  1. Key? key,
  2. required Widget child,
  3. AlignmentGeometry alignment = Alignment.center,
  4. BoxFit fit = BoxFit.scaleDown,
})

Implementation

const AutoWidget({
  Key? key,
  required this.child,
  this.alignment = Alignment.center,
  this.fit = BoxFit.scaleDown,
}) : super(key: key);