feat: remove google font and add quicksand

This commit is contained in:
efrilm
2025-08-01 13:53:29 +07:00
parent 7a6da0397b
commit ba2e010150
10 changed files with 33 additions and 31 deletions
+15 -18
View File
@@ -2,7 +2,7 @@ name: enaklo_pos
description: "EnakloPOS - Point of Sale Application"
# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
publish_to: "none" # Remove this line if you wish to publish to pub.dev
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
@@ -19,7 +19,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
environment:
sdk: '>=3.2.4 <4.0.0'
sdk: ">=3.2.4 <4.0.0"
# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
@@ -41,7 +41,6 @@ dependencies:
flutter_svg: ^2.0.9
freezed: ^2.4.6
freezed_annotation: ^2.4.1
google_fonts: ^6.1.0
hive: ^2.2.3
horizontal_data_table: ^4.3.1
http: ^1.2.0
@@ -98,7 +97,6 @@ flutter_launcher_icons:
image_path: "assets/logo/logo.png"
flutter:
# The following line ensures that the Material Icons font is
# included with your application, so that you can use the icons in
# the material Icons class.
@@ -118,17 +116,16 @@ flutter:
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts from package dependencies,
# see https://flutter.dev/custom-fonts/#from-packages
fonts:
- family: Quicksand
fonts:
- asset: assets/fonts/quicksand/Quicksand-Light.ttf
weight: 300
- asset: assets/fonts/quicksand/Quicksand-Regular.ttf
weight: 400
- asset: assets/fonts/quicksand/Quicksand-Medium.ttf
weight: 500
- asset: assets/fonts/quicksand/Quicksand-SemiBold.ttf
weight: 600
- asset: assets/fonts/quicksand/Quicksand-Bold.ttf
weight: 700