ContainerExtensions extension
- on
Methods
-
withRoundCorners(
{required Color backgroundColor}) → Container -
Add round corners to a Container
if the Container already has a color use
backgroundColor
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 - A shadow cast by a box