flutter

Simple Gradient in Container

Simple Gradient in Container

Container(
              decoration: BoxDecoration(
                gradient: LinearGradient(
                  begin: Alignment.topCenter,
                  end: Alignment.bottomCenter,
                  colors: [
                    Colors.indigoAccent[700],
                    Colors.white,
                  ],
                ),
              )),
Was this helpful?