Skip to content

Commit a12a606

Browse files
committed
working on on drag rating
1 parent c3870c4 commit a12a606

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

lib/components/rating/gf_rating.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ class GFRating extends StatelessWidget {
7979
onRatingChanged(index + 1.0);
8080
}
8181
},
82+
onHorizontalDragUpdate: (dragDetails) {
83+
RenderBox box = context.findRenderObject();
84+
var _pos = box.globalToLocal(dragDetails.globalPosition);
85+
86+
},
8287
child: icon,
8388
);
8489
}

0 commit comments

Comments
 (0)