ResponsiveRow constructor
const
ResponsiveRow({
- Key? key,
- List<
Widget> ? children, - List<
Widget> ? mobileChildren, - List<
Widget> ? tabletChildren, - List<
Widget> ? desktopChildren, - MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
- bool scrollable = true,
- EdgeInsetsGeometry? padding,
- ScrollPhysics? physics,
Implementation
const ResponsiveRow({
super.key,
this.children,
this.mobileChildren,
this.tabletChildren,
this.desktopChildren,
this.mainAxisAlignment = MainAxisAlignment.start,
this.crossAxisAlignment = CrossAxisAlignment.center,
this.scrollable = true, // ✅ enabled by default
this.padding,
this.physics,
});