you could have easily achieved thiss using stack and then positioned or alignment widget which child is white container theh have given border radius.only at top left and top right ie.ciruclar
I am wondering if there is another option to get the curves. Could we use a stack to have a container (the blue one) followed by another container that has the curves and position it overlaying the bottom 20 pixels of the first container?
The other widgets placed after this curve are not positioned directly after it there's some extra space on top. I have no extra padding added in any widget is there a way to display them directly in the top of the white space ? Thank you.
why u removed the sizedbox with 400 height inside primaryheadercontainer after u extracted it ? and how come we still can see the shapes after you removed it ? after i removed the sizedbox, nothing is showing , only full white background.... thanks in advance
Using a CustomClipper allows for more complex shapes and precise control compared to Container with borderRadius. For intricate designs like this, CustomClipper is the better choice.
Its amazing tutorial and understandably sir but i want to tell you and requested you to make your editor to zoom because its var away to see nicely plz zoom sir 🎉
I have a doubt , when we are navigating the getx controllers are not getting disposed, all controllers are in intialized state , so is it a good thing? because getx advantage is there route system, it will dispose the controllers automatically
The 0 offset for the secondFirstCurve is used to maintain the horizontal alignment for the second curve along the x-axis. Since the second curve is intended to start from the same vertical level as the first one, the x-coordinate remains at 0, ensuring that the curve is positioned correctly without any horizontal shift.
Hello friend, I did everything as it is. However, when I put the container position in the stack, I cannot see the container. If you have email I can show you the code and what it looks like.
class HomeScreen extends StatelessWidget { const HomeScreen({super.key}); @override Widget build(BuildContext context) { return Scaffold( body: SingleChildScrollView( child: Column( children: [ TPrimaryHeaderContainer( child: Container(), ), ], ), ) ); } } it is not working it doesn't show me a custom shape help me please?
I understand that you want to keep a clean code , but factoring everything to a custom widget became annoying, it's not clean code anymore and trying to find a specific widget in a pile of widgets is kinda annoying, i like your videos , but i hope you change this part