appStylesSample function

String appStylesSample()

Implementation

String appStylesSample() {
  return '''
import 'package:flutter/material.dart';

class AppStyles {
  static const String fontFamily = 'Almarai';

  // Thin (w100)
  static const TextStyle t26 = TextStyle(fontSize: 26, fontWeight: FontWeight.w100, fontFamily: fontFamily);
  static const TextStyle t24 = TextStyle(fontSize: 24, fontWeight: FontWeight.w100, fontFamily: fontFamily);
  static const TextStyle t20 = TextStyle(fontSize: 20, fontWeight: FontWeight.w100, fontFamily: fontFamily);
  static const TextStyle t18 = TextStyle(fontSize: 18, fontWeight: FontWeight.w100, fontFamily: fontFamily);
  static const TextStyle t16 = TextStyle(fontSize: 16, fontWeight: FontWeight.w100, fontFamily: fontFamily);
  static const TextStyle t14 = TextStyle(fontSize: 14, fontWeight: FontWeight.w100, fontFamily: fontFamily);
  static const TextStyle t12 = TextStyle(fontSize: 12, fontWeight: FontWeight.w100, fontFamily: fontFamily);

  // Light (w300)
  static const TextStyle l26 = TextStyle(fontSize: 26, fontWeight: FontWeight.w300, fontFamily: fontFamily);
  static const TextStyle l24 = TextStyle(fontSize: 24, fontWeight: FontWeight.w300, fontFamily: fontFamily);
  static const TextStyle l20 = TextStyle(fontSize: 20, fontWeight: FontWeight.w300, fontFamily: fontFamily);
  static const TextStyle l18 = TextStyle(fontSize: 18, fontWeight: FontWeight.w300, fontFamily: fontFamily);
  static const TextStyle l16 = TextStyle(fontSize: 16, fontWeight: FontWeight.w300, fontFamily: fontFamily);
  static const TextStyle l14 = TextStyle(fontSize: 14, fontWeight: FontWeight.w300, fontFamily: fontFamily);
  static const TextStyle l12 = TextStyle(fontSize: 12, fontWeight: FontWeight.w300, fontFamily: fontFamily);

  // Regular (w400)
  static const TextStyle r26 = TextStyle(fontSize: 26, fontWeight: FontWeight.w400, fontFamily: fontFamily);
  static const TextStyle r24 = TextStyle(fontSize: 24, fontWeight: FontWeight.w400, fontFamily: fontFamily);
  static const TextStyle r20 = TextStyle(fontSize: 20, fontWeight: FontWeight.w400, fontFamily: fontFamily);
  static const TextStyle r18 = TextStyle(fontSize: 18, fontWeight: FontWeight.w400, fontFamily: fontFamily);
  static const TextStyle r16 = TextStyle(fontSize: 16, fontWeight: FontWeight.w400, fontFamily: fontFamily);
  static const TextStyle r15 = TextStyle(fontSize: 15, fontWeight: FontWeight.w400, fontFamily: fontFamily);
  static const TextStyle r14 = TextStyle(fontSize: 14, fontWeight: FontWeight.w400, fontFamily: fontFamily);
  static const TextStyle r12 = TextStyle(fontSize: 12, fontWeight: FontWeight.w400, fontFamily: fontFamily);
  static const TextStyle r10 = TextStyle(fontSize: 10, fontWeight: FontWeight.w400, fontFamily: fontFamily);

  // Medium (w500)
  static const TextStyle m26 = TextStyle(fontSize: 26, fontWeight: FontWeight.w500, fontFamily: fontFamily);
  static const TextStyle m24 = TextStyle(fontSize: 24, fontWeight: FontWeight.w500, fontFamily: fontFamily);
  static const TextStyle m20 = TextStyle(fontSize: 20, fontWeight: FontWeight.w500, fontFamily: fontFamily);
  static const TextStyle m18 = TextStyle(fontSize: 18, fontWeight: FontWeight.w500, fontFamily: fontFamily);
  static const TextStyle m16 = TextStyle(fontSize: 16, fontWeight: FontWeight.w500, fontFamily: fontFamily);
  static const TextStyle m14 = TextStyle(fontSize: 14, fontWeight: FontWeight.w500, fontFamily: fontFamily);
  static const TextStyle m12 = TextStyle(fontSize: 12, fontWeight: FontWeight.w500, fontFamily: fontFamily);

  // SemiBold (w600)
  static const TextStyle sb26 = TextStyle(fontSize: 26, fontWeight: FontWeight.w600, fontFamily: fontFamily);
  static const TextStyle sb24 = TextStyle(fontSize: 24, fontWeight: FontWeight.w600, fontFamily: fontFamily);
  static const TextStyle sb20 = TextStyle(fontSize: 20, fontWeight: FontWeight.w600, fontFamily: fontFamily);
  static const TextStyle sb18 = TextStyle(fontSize: 18, fontWeight: FontWeight.w600, fontFamily: fontFamily);
  static const TextStyle sb16 = TextStyle(fontSize: 16, fontWeight: FontWeight.w600, fontFamily: fontFamily);
  static const TextStyle sb14 = TextStyle(fontSize: 14, fontWeight: FontWeight.w600, fontFamily: fontFamily);
  static const TextStyle sb12 = TextStyle(fontSize: 12, fontWeight: FontWeight.w600, fontFamily: fontFamily);

  // Bold (w700)
  static const TextStyle b26 = TextStyle(fontSize: 26, fontWeight: FontWeight.w700, fontFamily: fontFamily);
  static const TextStyle b24 = TextStyle(fontSize: 24, fontWeight: FontWeight.w700, fontFamily: fontFamily);
  static const TextStyle b20 = TextStyle(fontSize: 20, fontWeight: FontWeight.w700, fontFamily: fontFamily);
  static const TextStyle b18 = TextStyle(fontSize: 18, fontWeight: FontWeight.w700, fontFamily: fontFamily);
  static const TextStyle b16 = TextStyle(fontSize: 16, fontWeight: FontWeight.w700, fontFamily: fontFamily);
  static const TextStyle b14 = TextStyle(fontSize: 14, fontWeight: FontWeight.w700, fontFamily: fontFamily);
  static const TextStyle b12 = TextStyle(fontSize: 12, fontWeight: FontWeight.w700, fontFamily: fontFamily);
  static const TextStyle b10 = TextStyle(fontSize: 10, fontWeight: FontWeight.w700, fontFamily: fontFamily);
}
''';
}