InheritedResponsiveWrapper constructor

const InheritedResponsiveWrapper({
  1. Key? key,
  2. required ResponsiveWrapperData data,
  3. required Widget child,
})

Creates a widget that provides ResponsiveWrapperData to its descendants.

The data and child arguments must not be null.

Implementation

const InheritedResponsiveWrapper(
    {Key? key, required this.data, required Widget child})
    : super(key: key, child: child);