I do not think the CupertinoApp or Container has the min-width restriction but I couldn't find a way to get rid of it. Any help would be appreciated.
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return CupertinoApp(
home: Container(color: CupertinoColors.systemRed,),
);
}
}
I believe it's just the browser that prevents you making it smaller. Any web page can't be made smaller. If you want to see how your flutter web app would look on smaller screens there is ways to make it smaller. On Chrome enter the DevTools by pressing F12, then press "Toggle device toolbar" button in the top left corner. It looks like this
. This allows you to resize the window to any size.