color_spark_3u

Creator: coderz1093

Last updated:

0 purchases

color_spark_3u Image
color_spark_3u Images

Languages

Categories

Add to Cart

Description:

color spark 3u

Description #
This library is a very simple color palette library. We have added 80 colors that we consider somewhat basic. You can use it to choose a color from the 80 colors to add it as a color for the element.
Usage #
use example:

class MyHomePage extends StatefulWidget {
const MyHomePage({super.key});
@override
State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
Color color = Colors.black;
@override
Widget build(BuildContext context) {
return Scaffold(
body: Column(
children: [
ChooseColor(
color: color,
onColor: (c) => setState(() => color = c),
),
Container(
height: 50,
width: 250,
color: color,
)
],
),
);
}
}

copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.