init method

  1. @override
void init([
  1. Anchor? anchor
])
override

Initialize this object.

See ObjectPool.acquire for more information on how this gets called.

Implementation

@override
void init([Anchor? anchor]) => this.anchor = anchor ?? Anchor.topLeft;