FollowerWidget constructor

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

Implementation

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