draw method
Implementation
@override
Future draw(ui.NodeContext context) async {
await super.draw(context);
var bb = getWorldBoundingBox();
if (_slice) {
await drawSlice(context, bb);
} else {
await drawNormal(context, bb);
}
}
@override
Future draw(ui.NodeContext context) async {
await super.draw(context);
var bb = getWorldBoundingBox();
if (_slice) {
await drawSlice(context, bb);
} else {
await drawNormal(context, bb);
}
}