end method

  1. @override
bool end(
  1. DrawNoop object,
  2. Color color,
  3. Size size
)
override

Returning true will keep the object, false will discard it.

Useful for pan/zoom where you want to fulfill the contract, but not draw anything.

NOTE: Will not be called if start() returned a Future.

Implementation

@override
bool end(
  DrawNoop object,
  Color color,
  Size size,
) {
  return false;
}