RectComponent constructor
RectComponent({})
Implementation
RectComponent({
super.key,
required this.initialPosition,
required this.color,
required this.onTap,
required this.onPositionChanged,
this.currentPosition,
this.onRightClick,
});