FollowerWidget constructor

const FollowerWidget({
  1. required GameComponent target,
  2. required Widget child,
  3. Key? key,
  4. Offset offset = Offset.zero,
  5. AlignmentGeometry? alignment,
})

Implementation

const FollowerWidget({
  required this.target,
  required this.child,
  super.key,
  this.offset = Offset.zero,
  this.alignment,
});