AdaptiveContainer constructor
const
AdaptiveContainer({})
Constructs an AdaptiveContainer
widget with the given child widgets for different device types.
The mobile
parameter is the widget to be displayed on mobile devices.
The tablet
parameter is the widget to be displayed on tablet devices.
The desktop
parameter is the widget to be displayed on desktop devices.
Implementation
const AdaptiveContainer({
Key? key,
required this.mobile,
required this.tablet,
required this.desktop,
}) : super(key: key);