Closed amaury901130 closed 1 year ago
How to use:
Responsive( mobile: const LoginPageMobile(), desktop: const LoginPageDesktop(), )
To check the current screen type: Responsive.isMobile(context)
Responsive.isMobile(context)
i.e: Responsive.isMobile(context) ? Text(“Is mobile”) : Text(“Is not mobile”)
Responsive.isMobile(context) ? Text(“Is mobile”) : Text(“Is not mobile”)
Description
How to use:
To check the current screen type:
Responsive.isMobile(context)
i.e:
Responsive.isMobile(context) ? Text(“Is mobile”) : Text(“Is not mobile”)