LayoutId constructor Null safety
Marks a child with a layout identifier.
Both the child and the id arguments must not be null.
Implementation
LayoutId({
Key? key,
required this.id,
required super.child,
}) : assert(child != null),
assert(id != null),
super(key: key ?? ValueKey<Object>(id));