Theme

Mazi Flux – Theme Code Structure

Font Family

The default font family name “Raleway” are being used for this template. If you need change or a custom font to be the prettiest? You’ll need the .ttf files for all supported styles (thin, ultraLight, light, regular, medium, semibold, bold, heavy, black …). Here are the few steps you need to add it.

Add more font family in folder ./assets/fonts/..

Example: Download and add more font Roboto [download here]

Mazi Flux – Font Customization

Open fileĀ ./pubspec.yaml and change your new fonts

fonts:  
  - family: Raleway-Regular  
    fonts:  
      - asset: assets/fonts/Raleway-Regular.ttf  
ThemeData(  
    fontFamily: 'Raleway-Regular',  
);