decoration: const BoxDecoration(
        gradient: LinearGradient(
          begin: Alignment(-1.0, 0.0),
          end: Alignment(0.6, 0.0),
          colors: <Color>[
            Color(0xffef5350),
            Color(0x00ef5350),
          ],
        ),
      ),
      
      child: Text(
        'Lorem ipsum',
        style: bold24Roboto,
      ),
    ),
  ),
);

Manipulating shapes

The following examples show how to make and customize shapes.

Rounding corners

To round the corners of a rectangular shape,
use the borderRadius property of a BoxDecoration object.
Create a new BorderRadius
object that specifies the radius for rounding each corner.

border-radius: 8px;
}