FollowerWidget constructor

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

Implementation

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