Answers for "how to use linear gradient in LinearProgressIndicator flutter"

9

color gradient in flutter

decoration: BoxDecoration(
    gradient: LinearGradient(
      colors: [Colors.green, Colors.blue])
  ),
Posted by: Guest on June-19-2020
0

flutter LinearProgressIndicator curve

Container(
          margin: EdgeInsets.symmetric(vertical: 20),
          width: 300,
          height: 20,
          child: ClipRRect(
            borderRadius: BorderRadius.all(Radius.circular(10)),
            child: LinearProgressIndicator(
              value: 0.7,
              valueColor: AlwaysStoppedAnimation<Color>(Color(0xff00ff00)),
              backgroundColor: Color(0xffD6D6D6),
            ),
          ),
        )
Posted by: Guest on September-08-2021

Code answers related to "how to use linear gradient in LinearProgressIndicator flutter"

Browse Popular Code Answers by Language