DisplayFeature constructor Null safety
- {required Rect bounds,
- required DisplayFeatureType type,
- required DisplayFeatureState state}
Implementation
const DisplayFeature({
required this.bounds,
required this.type,
required this.state,
}) : assert(!identical(type, DisplayFeatureType.cutout) || identical(state, DisplayFeatureState.unknown));