BackgroundExt extension

on

Methods

background({Key? key, Color? color, DecorationImage? image, BoxBorder? border, double radius = 0, BorderRadiusGeometry? borderRadius, List<BoxShadow>? boxShadow, Gradient? gradient, BlendMode? backgroundBlendMode, BoxShape shape = BoxShape.rectangle, DecorationPosition position = DecorationPosition.background}) DecoratedBox
Wrap the widget in a DecoratedBox with changing the decoration.