Files
syncrow-app/lib/resource_manager/styles_manager.dart
T
2024-02-14 10:58:43 +03:00

75 lines
1.9 KiB
Dart

// import 'package:flutter/material.dart';
// import 'font_manager.dart';
// TextStyle _getTextStyle({
// required double fontSize,
// required Color color,
// required FontWeight fontWeight,
// }) => TextStyle(
// fontFamily: FontsManager.fontFamily,
// fontSize: fontSize,
// color: color,
// fontWeight: fontWeight,
// );
// /// regular style
// TextStyle getTextStyleRegular({
// required Color color, double fontSize = FontSize.s14,
// fontWeight = FontsManager.regular,
// }) => _getTextStyle(
// fontSize: fontSize,
// color: color,
// fontWeight: fontWeight,
// );
// /// light style
// TextStyle getTextStyleLight({
// required Color color, double fontSize = FontSize.s12,
// fontWeight = FontsManager.light,
// }) => _getTextStyle(
// fontSize: fontSize,
// color: color,
// fontWeight: fontWeight,
// );
// /// medium style
// TextStyle getTextStyleMedium({
// required Color color, double fontSize = FontSize.s16,
// fontWeight = FontsManager.medium,
// }) => _getTextStyle(
// fontSize: fontSize,
// color: color,
// fontWeight: fontWeight,
// );
// /// semi bold style
// TextStyle getTextStyleSemiBold({
// required Color color, double fontSize = FontSize.s18,
// fontWeight = FontsManager.semiBold,
// }) => _getTextStyle(
// fontSize: fontSize,
// color: color,
// fontWeight: fontWeight,
// );
// /// bold style
// TextStyle getTextStyleBold({
// required Color color, double fontSize = FontSize.s20,
// fontWeight = FontsManager.bold,
// }) => _getTextStyle(
// fontSize: fontSize,
// color: color,
// fontWeight: fontWeight,
// );
// /// extra bold style
// TextStyle getTextStyleExtraBold({
// required Color color, double fontSize = FontSize.s22,
// fontWeight = FontsManager.extraBold,
// }) => _getTextStyle(
// fontSize: fontSize,
// color: color,
// fontWeight: fontWeight,
// );