AnnotatedRegion< T> constructor
Creates a new annotated region to insert value
into the layer tree.
Neither child
nor value
may be null.
sized
defaults to true and controls whether the annotated region will
clip its child.
Implementation
const AnnotatedRegion({
Key key,
@required Widget child,
@required this.value,
this.sized = true,
}) : assert(value != null),
assert(child != null),
super(key: key, child: child);