BulbView constructor
const
BulbView({
- Key? key,
- required List<
Color> colors, - double bulbSize = 100.0,
- BulbCallback? onTap,
- BulbCallback? onLongPress,
- BulbCallback? onDoubleTap,
- VoidCallback? onResetBulb,
- int layoutType = 0,
- Color resetColor = Colors.black,
Implementation
const BulbView({
super.key,
required this.colors,
this.bulbSize = 100.0,
this.onTap,
this.onLongPress,
this.onDoubleTap,
this.onResetBulb,
this.layoutType = 0,
this.resetColor = Colors.black, // Default reset color
});