flutter_rating_bar
flutter_rating_bar copied to clipboard
Set HitTestBehavior to Opaque for GestureDetector
It is difficult to tap or drag widgets with a small paint area. Setting gesture detector behavior to HitTestBehavior.opaque fixes this issue.
GestureDetector(
behavior: HitTestBehavior.opaque,
onTapDown: (details) {},
);