Untitled

 avatar
faisalsalameh
dart
2 years ago
2.3 kB
6
Indexable
import 'package:tamreeni_app/application_layer/resources/gen/colors/app_colors.dart';
import 'package:tamreeni_app/application_layer/resources/gen/constant/general.dart';
import 'package:flutter/material.dart';

class TextThemeStyle {
  TextStyle headline6 = TextStyle(
    fontFamily: mainAppFont.state,
    fontSize: 14.0,
    fontWeight: FontWeight.w500,
    color: AppColors.black,
    height: 1.2,
  );
  TextStyle headline5 = TextStyle(
    fontFamily: mainAppFont.state,
    fontSize: 16.0,
    fontWeight: FontWeight.w500,
    color: AppColors.black,
    height: 1.2,
  );
  TextStyle headline4 = TextStyle(
    fontFamily: mainAppFont.state,
    fontSize: 18.0,
    fontWeight: FontWeight.w500,
    color: AppColors.black,
    height: 1.2,
  );
  TextStyle headline3 = TextStyle(
    fontFamily: mainAppFont.state,
    fontSize: 22.0,
    fontWeight: FontWeight.w500,
    color: AppColors.black,
    height: 1.2,
  );
  TextStyle headline2 = TextStyle(
    fontFamily: mainAppFont.state,
    fontSize: 26.0,
    fontWeight: FontWeight.w500,
    color: AppColors.black,
    height: 1.2,
  );
  TextStyle headline1 = TextStyle(
    fontFamily: mainAppFont.state,
    fontSize: 32.0,
    fontWeight: FontWeight.w500,
    color: AppColors.black,
    height: 1.2,
  );
  TextStyle headline0 = TextStyle(
    fontFamily: mainAppFont.state,
    fontSize: 38.0,
    fontWeight: FontWeight.w500,
    color: AppColors.black,
    height: 1.2,
  );
  TextStyle subtitle1 = TextStyle(
    fontFamily: mainAppFont.state,
    fontSize: 10.0,
    fontWeight: FontWeight.w500,
    color: AppColors.black,
    height: 1.2,
  );
  TextStyle subtitle2 = TextStyle(
    fontFamily: mainAppFont.state,
    fontSize: 12.0,
    fontWeight: FontWeight.w500,
    color: AppColors.black,
    height: 1.2,
  );
  TextStyle bodyText1 = TextStyle(
    fontFamily: mainAppFont.state,
    fontSize: 15.0,
    fontWeight: FontWeight.w300,
    color: AppColors.black,
    height: 1.2,
  );
  TextStyle bodyText2 = TextStyle(
    fontFamily: mainAppFont.state,
    fontSize: 13.0,
    fontWeight: FontWeight.w300,
    color: AppColors.black,
    height: 1.2,
  );
  TextStyle caption = TextStyle(
    fontFamily: mainAppFont.state,
    fontSize: 9.0,
    fontWeight: FontWeight.w300,
    color: AppColors.black,
    height: 1.2,
  );
}
Editor is loading...