I have a curved navigation bar which I get from this plugin.
the problem is that it draws the sides outside of the screen, its not something that we can se of course but we do see that the sides are not the same as the middle one (some of it is not draw b/c its actually outside of the screen sides).
How can I tell the object to draw only in the space it got and not draw outside of it basically?
CodePudding user response:
I'm not sure your specific problem because you did not provided any code, but you can try using clipRRect
widget (I had a similar problem, based on what you wrote it sounds the same and this solved my problem), or a SafeArea
widget like @Prashant suggested in the comments.
You can refer to this links for more information about this two widgets: