feat : button , outlined button
fab button , fab outlined button , input , pagination widget's
This commit is contained in:
155
lib/presentation/common/app_fonts.dart
Normal file
155
lib/presentation/common/app_fonts.dart
Normal file
@@ -0,0 +1,155 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class AppFonts {
|
||||
AppFonts._(); // Private constructor to prevent instantiation
|
||||
|
||||
// --- Font Families ---
|
||||
static const String yekan = 'yekan';
|
||||
|
||||
// --- Font Weights ---
|
||||
static const FontWeight regular = FontWeight.w400;
|
||||
static const FontWeight bold = FontWeight.w600;
|
||||
static const double _height = 1.20;
|
||||
|
||||
static const TextStyle yekan61Regular = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: regular,
|
||||
fontSize: 61,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan49Regular = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: regular,
|
||||
fontSize: 48,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan39Regular = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: regular,
|
||||
fontSize: 39,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan31Regular = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: regular,
|
||||
fontSize: 31,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan25Regular = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: regular,
|
||||
fontSize: 25,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan24Regular = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: regular,
|
||||
fontSize: 24,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan20Regular = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: regular,
|
||||
fontSize: 20,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan16Regular = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: regular,
|
||||
fontSize: 16,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan13Regular = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: regular,
|
||||
fontSize: 13,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan10Regular = TextStyle(
|
||||
// Rounded from 10.24
|
||||
fontFamily: yekan,
|
||||
fontWeight: regular,
|
||||
fontSize: 10,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan61Bold = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: bold, // Use bold weight
|
||||
fontSize: 61,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan49Bold = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: bold, // Use bold weight
|
||||
fontSize: 48,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan39Bold = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: bold, // Use bold weight
|
||||
fontSize: 39,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan31Bold = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: bold, // Use bold weight
|
||||
fontSize: 31,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan25Bold = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: bold, // Use bold weight
|
||||
fontSize: 25,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan24Bold = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: bold, // Use bold weight
|
||||
fontSize: 24,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan20Bold = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: bold, // Use bold weight
|
||||
fontSize: 20,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan16Bold = TextStyle(
|
||||
// Base size bold
|
||||
fontFamily: yekan,
|
||||
fontWeight: bold, // Use bold weight
|
||||
fontSize: 16,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan13Bold = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: bold, // Use bold weight
|
||||
fontSize: 13,
|
||||
height: _height,
|
||||
);
|
||||
|
||||
static const TextStyle yekan10Bold = TextStyle(
|
||||
fontFamily: yekan,
|
||||
fontWeight: bold, // Use bold weight
|
||||
fontSize: 10,
|
||||
height: _height,
|
||||
);
|
||||
}
|
||||
24
lib/presentation/common/assets.dart
Normal file
24
lib/presentation/common/assets.dart
Normal file
@@ -0,0 +1,24 @@
|
||||
///This file is automatically generated. DO NOT EDIT, all your changes would be lost.
|
||||
class Assets {
|
||||
Assets._();
|
||||
|
||||
static const String iconsAdd = 'assets/icons/add.svg';
|
||||
static const String iconsArrowLeft = 'assets/icons/arrow_left.svg';
|
||||
static const String iconsArrowRight = 'assets/icons/arrow_right.svg';
|
||||
static const String iconsDownload = 'assets/icons/download.svg';
|
||||
static const String iconsEdit = 'assets/icons/edit.svg';
|
||||
static const String iconsFilter = 'assets/icons/filter.svg';
|
||||
static const String iconsScan = 'assets/icons/scan.svg';
|
||||
static const String iconsTrash = 'assets/icons/trash.svg';
|
||||
static const String imagesInnerSplash = 'assets/images/inner_splash.webp';
|
||||
static const String imagesOutterSplash = 'assets/images/outter_splash.webp';
|
||||
static const String vecAddSvg = 'assets/vec/add.svg.vec';
|
||||
static const String vecArrowLeftSvg = 'assets/vec/arrow_left.svg.vec';
|
||||
static const String vecArrowRightSvg = 'assets/vec/arrow_right.svg.vec';
|
||||
static const String vecDownloadSvg = 'assets/vec/download.svg.vec';
|
||||
static const String vecEditSvg = 'assets/vec/edit.svg.vec';
|
||||
static const String vecFilterSvg = 'assets/vec/filter.svg.vec';
|
||||
static const String vecScanSvg = 'assets/vec/scan.svg.vec';
|
||||
static const String vecTrashSvg = 'assets/vec/trash.svg.vec';
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user