colore() in flutter
// Color() widget can be used in the following way:
//where 123456 is the hex color code without the '#'
Color myHexColor = Color(0xff123456)
come cambiare colore primario nel flutter
MaterialApp(
theme: ThemeData(
colorScheme: ColorScheme.fromSwatch(
primarySwatch: Colors.blue,
),
),
)