ResponsiveWidget constructor
const
ResponsiveWidget({})
Define a ResponsiveWidget class.
Implementation
const ResponsiveWidget({
Key? key,
this.desktop,
this.phone,
this.tablet,
this.watch,
this.screenChangePoints,
}) : assert(
desktop != null || phone != null || tablet != null || watch != null,
'At least one widget must not be null.',
),
super(key: key);