FollowerWidget constructor
const
FollowerWidget({
- Key? key,
- required GameComponent target,
- required Widget child,
- Offset offset = Offset.zero,
- AlignmentGeometry? alignment,
Implementation
const FollowerWidget({
Key? key,
required this.target,
required this.child,
this.offset = Offset.zero,
this.alignment,
}) : super(key: key);