Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
class BodyCanvas extends ViewModelWidget<BodySelectorViewModel> {
@override
Widget build(BuildContext context, BodySelectorViewModel model) {
return CanvasTouchDetector(
builder: (context) => CustomPaint(
painter: BodyPainter(
context: context,
model: model,
),
),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment