const NodeWidget({Key? key, required Widget child, required this.node}) : super(key: key, child: child);