Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter without material design or cupertino customizations?

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.

like image 373
Derek Avatar asked Nov 02 '18 20:11

Derek


People also ask

Do you have to use Material design with Flutter?

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.

Should I use material or Cupertino Flutter?

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.

Do you have to use material UI for Flutter?

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.

What is the difference between material and MaterialApp in Flutter?

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.


1 Answers

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:

  • WidgetApp
  • GestureDetector
  • DecoratedBox

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

like image 83
Rémi Rousselet Avatar answered Oct 27 '22 08:10

Rémi Rousselet