DecoratedBox constructor

DecoratedBox({
  1. required BoxDecoration decoration,
  2. DecorationPosition position = DecorationPosition.background,
  3. Widget? child,
})

Implementation

DecoratedBox(
    {required this.decoration,
    this.position = DecorationPosition.background,
    Widget? child})
    : super(child: child);