Answers for "flutter put gradient inside a container"

0

gradient flutter container

Container(
        decoration: BoxDecoration(
            gradient: LinearGradient(
              begin: Alignment.topRight,
              end: Alignment.bottomLeft,
              colors: [Colors.blue, Colors.red])),
        child: Center(
          child: Text(
            'Hello Gradient!',
            style: TextStyle(
              fontSize: 48.0,
              fontWeight: FontWeight.bold,
              color: Colors.white),
          ),
        ),
Posted by: Guest on July-05-2020

Code answers related to "flutter put gradient inside a container"

Browse Popular Code Answers by Language