mirror of
https://github.com/Uuttssaavv/flutter-clean-architecture-riverpod.git
synced 2025-08-06 16:19:42 +08:00
49 lines
967 B
Dart
49 lines
967 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class AppTextStyles {
|
|
static const String fontFamily = 'Helvetica';
|
|
|
|
/// Text style for body
|
|
static const TextStyle bodyLg = TextStyle(
|
|
fontSize: 16,
|
|
fontWeight: FontWeight.w500,
|
|
);
|
|
|
|
static const TextStyle body = TextStyle(
|
|
fontSize: 14,
|
|
fontWeight: FontWeight.w400,
|
|
);
|
|
|
|
static const TextStyle bodySm = TextStyle(
|
|
fontSize: 12,
|
|
fontWeight: FontWeight.w300,
|
|
);
|
|
|
|
static const TextStyle bodyXs = TextStyle(
|
|
fontSize: 10,
|
|
fontWeight: FontWeight.w300,
|
|
);
|
|
|
|
/// Text style for heading
|
|
|
|
static const TextStyle h1 = TextStyle(
|
|
fontSize: 24,
|
|
fontWeight: FontWeight.w700,
|
|
);
|
|
|
|
static const TextStyle h2 = TextStyle(
|
|
fontSize: 22,
|
|
fontWeight: FontWeight.w700,
|
|
);
|
|
|
|
static const TextStyle h3 = TextStyle(
|
|
fontSize: 20,
|
|
fontWeight: FontWeight.w600,
|
|
);
|
|
|
|
static const TextStyle h4 = TextStyle(
|
|
fontSize: 18,
|
|
fontWeight: FontWeight.w500,
|
|
);
|
|
}
|