MediaQueryModifier constructor

const MediaQueryModifier({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
  4. required MediaQueryData data,
})

Creates a widget that provides MediaQueryData to its descendants.

The data and child arguments must not be null.

Implementation

const MediaQueryModifier({
  super.key,
  super.child,
  super.modifierKey,
  required this.data,
});