Git Product home page Git Product logo

Comments (3)

rayliverified avatar rayliverified commented on May 13, 2024 2

Oh right, can you try setting the theme to Android?
theme: Theme.of(context).copyWith(platform: TargetPlatform.android)

from responsiveframework.

rayliverified avatar rayliverified commented on May 13, 2024

You're setting a max width and the shadow is the default MaterialApp navigation shadow.
Usually, the shadow is hidden because the edge of the UI is flush with the edge of the screen. Now that the UI is not, you can see the shadow.

The solution is to override the Material navigation if you want to get rid of the shadow.
https://github.com/Codelessly/FlutterMinimalWebsite/blob/3c27638817a2547c79738aceed647f70ff824d92/lib/main.dart#L29

from responsiveframework.

pedromassango avatar pedromassango commented on May 13, 2024

 Sorry, it is still not clear to me what the solution is. Tried to override onGenerateRoute and provide a custom route but the shadow still there

Got it, I had to remove the routes parameter from MaterialApp.

from responsiveframework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.