×

    Request a Proposal

    Fill Out Our Form & We’ll be in Touch Shortly

    Type of Project



    Our Locations

    PH: +1-202-938-5932

    USA

    10630 Little Patuxent Pkwy,
    Suite 314-M7
    Columbia, MD 21044

    UK

    120 Bark Street
    6th & 7th Floor
    Bolton Lancashire, United Kingdom Bl12ax

    Australia

    443 Camp Rd, Broadmeadows
    VIC, Australia

    For Responsive Flutter Web , How should I make it responsive for Mobile , Tablets and Desktop ?

    For Responsive Flutter Web , How should I make it responsive for Mobile , Tablets and Desktop ?

    Solution :

    For Mobile : bool isMobile(BuildContext context) => MediaQuery.of(context).size.width < 650;

    For Tabs : bool isTab(BuildContext context) => MediaQuery.of(context).size.width < 1300 && MediaQuery.of(context).size.width >= 650;

    For Desktop : bool isDesktop(BuildContext context) => MediaQuery.of(context).size.width >= 1300;

    1
    0

    Leave a Reply

    Your email address will not be published. Required fields are marked *