CustomPaint

This widget motivated by CustomPaint in Flutter.

This widget has different interface compared to Flutter’s because This library use svg not canvas. But layout rule is same to original CustomPaint.

See: https://api.flutter.dev/flutter/widgets/CustomPaint-class.html

Props

size

value: Size (default: Size.zero)

painter

value: Painter

child

value: Widget

Examples

Basic