Creates a semantics data object.
The flags, actions, label, and Rect arguments must not be null.
Source
SemanticsData({
@required this.flags,
@required this.actions,
@required this.label,
@required this.rect,
this.transform
}) {
assert(flags != null);
assert(actions != null);
assert(label != null);
assert(rect != null);
}