codigoalphacol / flutterweb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flutterweb

![Codigo Alpha Flutter]

alt text

In file navigation_device.dart

change

double width = MediaQuery.of(context).size.width;

setState(() {
 print(width);    
});


if (width > 1050) {
  return menuScreenDesktop(context);      
} else if (width > 600 && width < 1050) {
  return menuScreenTablet(context);
} else if (width < 630) {
  return menuScreenPhone(context);
} else {
  return menuScreenDesktop(context);
}

About


Languages

Language:Dart 100.0%