Skip to content

Commit

Permalink
Add private constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
sinasystem committed Jun 8, 2022
1 parent b2af444 commit 2e852ab
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 45 deletions.
Binary file modified assets/images/profile_pic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
96 changes: 52 additions & 44 deletions lib/core/app_asset.dart
Original file line number Diff line number Diff line change
@@ -1,45 +1,53 @@
class AppAsset{
static const comharStandingDesk1 = "assets/images/comhar_standing_desk_1.jpg";
static const comharStandingDesk2 = "assets/images/comhar_standing_desk_2.jpg";
static const comharStandingDesk3 = "assets/images/comhar_standing_desk_3.jpg";
static const comharStandingDesk4 = "assets/images/comhar_standing_desk_4.jpg";
static const comharStandingDesk5 = "assets/images/comhar_standing_desk_5.jpg";
static const comharStandingDesk6 = "assets/images/comhar_standing_desk_6.jpg";
static const comharStandingDesk7 = "assets/images/comhar_standing_desk_7.jpg";

static const ergonomicGamingDesk1 = "assets/images/ergonomic_gaming_desk_1.jpg";
static const ergonomicGamingDesk2 = "assets/images/ergonomic_gaming_desk_2.jpg";
static const ergonomicGamingDesk3 = "assets/images/ergonomic_gaming_desk_3.jpg";
static const ergonomicGamingDesk4 = "assets/images/ergonomic_gaming_desk_4.jpg";
static const ergonomicGamingDesk5 = "assets/images/ergonomic_gaming_desk_5.jpg";

static const kanaBambooDesk1 = "assets/images/kana_bamboo_desk_1.jpg";
static const kanaBambooDesk2 = "assets/images/kana_bamboo_desk_2.jpg";
static const kanaBambooDesk3 = "assets/images/kana_bamboo_desk_3.jpg";
static const kanaBambooDesk4 = "assets/images/kana_bamboo_desk_4.jpg";
static const kanaBambooDesk5 = "assets/images/kana_bamboo_desk_5.jpg";
static const kanaBambooDesk6 = "assets/images/kana_bamboo_desk_6.jpg";

static const soutienOfficeChair1 = "assets/images/soutien_office_chair_1.jpg";
static const soutienOfficeChair2 = "assets/images/soutien_office_chair_2.jpg";
static const soutienOfficeChair3 = "assets/images/soutien_office_chair_3.jpg";
static const soutienOfficeChair4 = "assets/images/soutien_office_chair_4.jpg";
static const soutienOfficeChair5 = "assets/images/soutien_office_chair_5.jpg";
static const soutienOfficeChair6 = "assets/images/soutien_office_chair_6.jpg";

static const theodoreStandingDesk1 = "assets/images/theodore_standing_desk_1.jpg";
static const theodoreStandingDesk2 = "assets/images/theodore_standing_desk_2.jpg";
static const theodoreStandingDesk3 = "assets/images/theodore_standing_desk_3.jpg";
static const theodoreStandingDesk4 = "assets/images/theodore_standing_desk_4.jpg";
static const theodoreStandingDesk5 = "assets/images/theodore_standing_desk_5.jpg";


static const profilePic = "assets/images/profile_pic.png";
static const githubPic = "assets/images/github.png";


static const emptyCart = "assets/images/empty_cart.png";
static const emptyFavorite = "assets/images/empty_favorite.png";
class AppAsset {
const AppAsset._();

static const comharStandingDesk1 = "assets/images/comhar_standing_desk_1.jpg";
static const comharStandingDesk2 = "assets/images/comhar_standing_desk_2.jpg";
static const comharStandingDesk3 = "assets/images/comhar_standing_desk_3.jpg";
static const comharStandingDesk4 = "assets/images/comhar_standing_desk_4.jpg";
static const comharStandingDesk5 = "assets/images/comhar_standing_desk_5.jpg";
static const comharStandingDesk6 = "assets/images/comhar_standing_desk_6.jpg";
static const comharStandingDesk7 = "assets/images/comhar_standing_desk_7.jpg";

static const ergonomicGamingDesk1 =
"assets/images/ergonomic_gaming_desk_1.jpg";
static const ergonomicGamingDesk2 =
"assets/images/ergonomic_gaming_desk_2.jpg";
static const ergonomicGamingDesk3 =
"assets/images/ergonomic_gaming_desk_3.jpg";
static const ergonomicGamingDesk4 =
"assets/images/ergonomic_gaming_desk_4.jpg";
static const ergonomicGamingDesk5 =
"assets/images/ergonomic_gaming_desk_5.jpg";

static const kanaBambooDesk1 = "assets/images/kana_bamboo_desk_1.jpg";
static const kanaBambooDesk2 = "assets/images/kana_bamboo_desk_2.jpg";
static const kanaBambooDesk3 = "assets/images/kana_bamboo_desk_3.jpg";
static const kanaBambooDesk4 = "assets/images/kana_bamboo_desk_4.jpg";
static const kanaBambooDesk5 = "assets/images/kana_bamboo_desk_5.jpg";
static const kanaBambooDesk6 = "assets/images/kana_bamboo_desk_6.jpg";

static const soutienOfficeChair1 = "assets/images/soutien_office_chair_1.jpg";
static const soutienOfficeChair2 = "assets/images/soutien_office_chair_2.jpg";
static const soutienOfficeChair3 = "assets/images/soutien_office_chair_3.jpg";
static const soutienOfficeChair4 = "assets/images/soutien_office_chair_4.jpg";
static const soutienOfficeChair5 = "assets/images/soutien_office_chair_5.jpg";
static const soutienOfficeChair6 = "assets/images/soutien_office_chair_6.jpg";

static const theodoreStandingDesk1 =
"assets/images/theodore_standing_desk_1.jpg";
static const theodoreStandingDesk2 =
"assets/images/theodore_standing_desk_2.jpg";
static const theodoreStandingDesk3 =
"assets/images/theodore_standing_desk_3.jpg";
static const theodoreStandingDesk4 =
"assets/images/theodore_standing_desk_4.jpg";
static const theodoreStandingDesk5 =
"assets/images/theodore_standing_desk_5.jpg";

static const profilePic = "assets/images/profile_pic.png";
static const githubPic = "assets/images/github.png";

static const emptyCart = "assets/images/empty_cart.png";
static const emptyFavorite = "assets/images/empty_favorite.png";
}


2 changes: 2 additions & 0 deletions lib/core/app_color.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import 'package:flutter/material.dart';

class AppColor {
const AppColor._();

static const lightOrange = Color(0xFFFAA33C);
static const lightBlack = Color(0xFF101725);
}
2 changes: 2 additions & 0 deletions lib/core/app_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import 'package:office_furniture_store/src/model/furniture_color.dart';
import '../src/model/bottom_navigation_item.dart';

class AppData {
const AppData._();

static const dummyText =
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.";

Expand Down
2 changes: 1 addition & 1 deletion lib/core/app_theme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import 'package:flutter/material.dart';
import 'app_color.dart';

class AppTheme {
const AppTheme();
const AppTheme._();

static ThemeData lightTheme = ThemeData(
appBarTheme: const AppBarTheme(
Expand Down

0 comments on commit 2e852ab

Please sign in to comment.