Answers for "flutter gradient maker"

9

color gradient in flutter

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

how to create random gradient in flutter

List.generate(36, (i) => generateRandomCode(0xFF0587D8, 0xFF0345B5))

generateRandomCode(min, max) {
    // implementation here
}
Posted by: Guest on December-16-2020

Browse Popular Code Answers by Language