dev #1
BIN
assets/fonts/quicksand/Quicksand-Bold.ttf
Normal file
BIN
assets/fonts/quicksand/Quicksand-Bold.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/quicksand/Quicksand-Light.ttf
Normal file
BIN
assets/fonts/quicksand/Quicksand-Light.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/quicksand/Quicksand-Medium.ttf
Normal file
BIN
assets/fonts/quicksand/Quicksand-Medium.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/quicksand/Quicksand-Regular.ttf
Normal file
BIN
assets/fonts/quicksand/Quicksand-Regular.ttf
Normal file
Binary file not shown.
BIN
assets/fonts/quicksand/Quicksand-SemiBold.ttf
Normal file
BIN
assets/fonts/quicksand/Quicksand-SemiBold.ttf
Normal file
Binary file not shown.
15
lib/core/assets/fonts.gen.dart
Normal file
15
lib/core/assets/fonts.gen.dart
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
/// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||||
|
/// *****************************************************
|
||||||
|
/// FlutterGen
|
||||||
|
/// *****************************************************
|
||||||
|
|
||||||
|
// coverage:ignore-file
|
||||||
|
// ignore_for_file: type=lint
|
||||||
|
// ignore_for_file: directives_ordering,unnecessary_import,implicit_dynamic_list_literal,deprecated_member_use
|
||||||
|
|
||||||
|
class FontFamily {
|
||||||
|
FontFamily._();
|
||||||
|
|
||||||
|
/// Font family: Quicksand
|
||||||
|
static const String quicksand = 'Quicksand';
|
||||||
|
}
|
||||||
@ -1,6 +1,6 @@
|
|||||||
|
import 'package:enaklo_pos/core/assets/fonts.gen.dart';
|
||||||
import 'package:enaklo_pos/core/constants/colors.dart';
|
import 'package:enaklo_pos/core/constants/colors.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:google_fonts/google_fonts.dart';
|
|
||||||
|
|
||||||
ThemeData getApplicationTheme = ThemeData(
|
ThemeData getApplicationTheme = ThemeData(
|
||||||
primaryColor: AppColors.primary,
|
primaryColor: AppColors.primary,
|
||||||
@ -8,7 +8,7 @@ ThemeData getApplicationTheme = ThemeData(
|
|||||||
appBarTheme: AppBarTheme(
|
appBarTheme: AppBarTheme(
|
||||||
color: AppColors.white,
|
color: AppColors.white,
|
||||||
elevation: 0,
|
elevation: 0,
|
||||||
titleTextStyle: GoogleFonts.quicksand(
|
titleTextStyle: TextStyle(
|
||||||
color: AppColors.primary,
|
color: AppColors.primary,
|
||||||
fontSize: 16.0,
|
fontSize: 16.0,
|
||||||
fontWeight: FontWeight.w500,
|
fontWeight: FontWeight.w500,
|
||||||
@ -17,7 +17,7 @@ ThemeData getApplicationTheme = ThemeData(
|
|||||||
color: AppColors.primary,
|
color: AppColors.primary,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
fontFamily: GoogleFonts.quicksand().fontFamily,
|
fontFamily: FontFamily.quicksand,
|
||||||
colorScheme: ColorScheme.fromSeed(seedColor: AppColors.primary),
|
colorScheme: ColorScheme.fromSeed(seedColor: AppColors.primary),
|
||||||
useMaterial3: true,
|
useMaterial3: true,
|
||||||
inputDecorationTheme: InputDecorationTheme(
|
inputDecorationTheme: InputDecorationTheme(
|
||||||
|
|||||||
@ -49,9 +49,7 @@ import 'package:enaklo_pos/presentation/setting/bloc/sync_product/sync_product_b
|
|||||||
import 'package:enaklo_pos/presentation/setting/bloc/tax_settings/tax_settings_bloc.dart';
|
import 'package:enaklo_pos/presentation/setting/bloc/tax_settings/tax_settings_bloc.dart';
|
||||||
import 'package:enaklo_pos/presentation/table/blocs/update_table/update_table_bloc.dart';
|
import 'package:enaklo_pos/presentation/table/blocs/update_table/update_table_bloc.dart';
|
||||||
import 'package:enaklo_pos/presentation/home/bloc/add_order_items/add_order_items_bloc.dart';
|
import 'package:enaklo_pos/presentation/home/bloc/add_order_items/add_order_items_bloc.dart';
|
||||||
import 'package:google_fonts/google_fonts.dart';
|
|
||||||
|
|
||||||
import 'core/constants/colors.dart';
|
|
||||||
import 'presentation/auth/bloc/login/login_bloc.dart';
|
import 'presentation/auth/bloc/login/login_bloc.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
|
|
||||||
|
|||||||
@ -541,14 +541,6 @@ packages:
|
|||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.1.2"
|
version: "2.1.2"
|
||||||
google_fonts:
|
|
||||||
dependency: "direct main"
|
|
||||||
description:
|
|
||||||
name: google_fonts
|
|
||||||
sha256: b1ac0fe2832c9cc95e5e88b57d627c5e68c223b9657f4b96e1487aa9098c7b82
|
|
||||||
url: "https://pub.dev"
|
|
||||||
source: hosted
|
|
||||||
version: "6.2.1"
|
|
||||||
graphs:
|
graphs:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
|||||||
33
pubspec.yaml
33
pubspec.yaml
@ -2,7 +2,7 @@ name: enaklo_pos
|
|||||||
description: "EnakloPOS - Point of Sale Application"
|
description: "EnakloPOS - Point of Sale Application"
|
||||||
# The following line prevents the package from being accidentally published to
|
# The following line prevents the package from being accidentally published to
|
||||||
# pub.dev using `flutter pub publish`. This is preferred for private packages.
|
# 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.
|
# The following defines the version and build number for your application.
|
||||||
# A version number is three numbers separated by dots, like 1.2.43
|
# 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
|
version: 1.0.0+1
|
||||||
|
|
||||||
environment:
|
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.
|
# Dependencies specify other packages that your package needs in order to work.
|
||||||
# To automatically upgrade your package dependencies to the latest versions
|
# To automatically upgrade your package dependencies to the latest versions
|
||||||
@ -41,7 +41,6 @@ dependencies:
|
|||||||
flutter_svg: ^2.0.9
|
flutter_svg: ^2.0.9
|
||||||
freezed: ^2.4.6
|
freezed: ^2.4.6
|
||||||
freezed_annotation: ^2.4.1
|
freezed_annotation: ^2.4.1
|
||||||
google_fonts: ^6.1.0
|
|
||||||
hive: ^2.2.3
|
hive: ^2.2.3
|
||||||
horizontal_data_table: ^4.3.1
|
horizontal_data_table: ^4.3.1
|
||||||
http: ^1.2.0
|
http: ^1.2.0
|
||||||
@ -98,7 +97,6 @@ flutter_launcher_icons:
|
|||||||
image_path: "assets/logo/logo.png"
|
image_path: "assets/logo/logo.png"
|
||||||
|
|
||||||
flutter:
|
flutter:
|
||||||
|
|
||||||
# The following line ensures that the Material Icons font is
|
# The following line ensures that the Material Icons font is
|
||||||
# included with your application, so that you can use the icons in
|
# included with your application, so that you can use the icons in
|
||||||
# the material Icons class.
|
# the material Icons class.
|
||||||
@ -118,17 +116,16 @@ flutter:
|
|||||||
# "family" key with the font family name, and a "fonts" key with a
|
# "family" key with the font family name, and a "fonts" key with a
|
||||||
# list giving the asset and other descriptors for the font. For
|
# list giving the asset and other descriptors for the font. For
|
||||||
# example:
|
# example:
|
||||||
# fonts:
|
fonts:
|
||||||
# - family: Schyler
|
- family: Quicksand
|
||||||
# fonts:
|
fonts:
|
||||||
# - asset: fonts/Schyler-Regular.ttf
|
- asset: assets/fonts/quicksand/Quicksand-Light.ttf
|
||||||
# - asset: fonts/Schyler-Italic.ttf
|
weight: 300
|
||||||
# style: italic
|
- asset: assets/fonts/quicksand/Quicksand-Regular.ttf
|
||||||
# - family: Trajan Pro
|
weight: 400
|
||||||
# fonts:
|
- asset: assets/fonts/quicksand/Quicksand-Medium.ttf
|
||||||
# - asset: fonts/TrajanPro.ttf
|
weight: 500
|
||||||
# - asset: fonts/TrajanPro_Bold.ttf
|
- asset: assets/fonts/quicksand/Quicksand-SemiBold.ttf
|
||||||
# weight: 700
|
weight: 600
|
||||||
#
|
- asset: assets/fonts/quicksand/Quicksand-Bold.ttf
|
||||||
# For details regarding fonts from package dependencies,
|
weight: 700
|
||||||
# see https://flutter.dev/custom-fonts/#from-packages
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user