of static method
Retrieves the nearest MixData from the widget tree. Throws if not found.
Implementation
static MixData of(BuildContext context) {
final mixData = maybeOf(context);
assert(mixData != null, 'Mix not found in widget tree.');
return mixData!;
}