I am fairly new with flutter and am trying to create a application that doesn't follow the material design guidelines(company wants their own designs).
I can only seem to create stuff using material design or cupertino. I am not sure how to use custom scaffolds or in the widget build function return new MaterialApp(...
, or the AppBar
if that can be flat instead of having a shadow.
I hope this is making sense. I am just trying to find a way around.
There is no problem with not using Cupertino/Material design. In fact flutter is made with custom brand design in mind. It just happens to ship a Material design as bonus. Flutter provides tons of design agnostics widgets that you can use to make your custom look.
The Material design language was created for any platform, not just Android. When you write a Material app in Flutter, it has the Material look and feel on all devices, even iOS. If you want your app to look like a standard iOS-styled app, then you would use the Cupertino library.
Your Flutter app doesn't have to use Material components — introduce the styled components. I love the fact that Flutter lets you create beautiful and customizable UI.
MaterialApp is a widget that introduces many interesting tools such as Navigator or Theme to help you develop your app. Material is, on the other hand, a widget used to define a UI element respecting Material rules. It defines what elevation is, shape, and stuff.
There is no problem with not using Cupertino/Material design. In fact flutter is made with custom brand design in mind. It just happens to ship a Material design as bonus.
Flutter provides tons of design agnostics widgets that you can use to make your custom look. A few examples are:
You can also make some very advanced rendering using the lower layer CustomPaint
or RenderBox
You can have a list of what's available here: https://docs.flutter.dev/flutter/widgets/widgets-library.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With