ContainerExtensions extension
- on
Methods
-
withRoundCorners(
{required Color backgroundColor, double? radius}) → Container -
Available on Container, provided by the ContainerExtensions extension
Add round corners to a Container if the Container already has a color usebackgroundColor
instead and remove the Color from the Container it self -
withShadow(
{Color shadowColor = Colors.grey, double blurRadius = 20.0, double spreadRadius = 1.0, Offset offset = const Offset(10.0, 10.0)}) → Container -
Available on Container, provided by the ContainerExtensions extension
A shadow cast by a box