cleaning
This commit is contained in:
parent
7c185e26cc
commit
6417b9eb4e
|
|
@ -1,11 +1,9 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||
|
||||
import '../../application/application.dart';
|
||||
import '../core.dart';
|
||||
|
||||
import '../../di/di.dart' as di;
|
||||
import '../core.dart';
|
||||
|
||||
class MyApp extends StatelessWidget {
|
||||
const MyApp({super.key});
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
sealed class AppAssets {
|
||||
///svg
|
||||
static const String Logo = 'assets/svg/logo/logo.svg';
|
||||
static const String BoxesSvg = 'assets/svg/boxes.svg';
|
||||
static const String Trucks = 'assets/svg/trucks.svg';
|
||||
static const String logo = 'assets/svg/logo/logo.svg';
|
||||
static const String boxesSvg = 'assets/svg/boxes.svg';
|
||||
static const String trucks = 'assets/svg/trucks.svg';
|
||||
|
||||
///png
|
||||
static const String BoxesPng = 'assets/images/boxes.png';
|
||||
static const String TrucksPng = 'assets/images/trucks.png';
|
||||
static const String Header = 'assets/images/header.png';
|
||||
static const String boxesPng = 'assets/images/boxes.png';
|
||||
static const String trucksPng = 'assets/images/trucks.png';
|
||||
static const String header = 'assets/images/header.png';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,4 @@ sealed class AppColors {
|
|||
static const Color green = Color(0xFFA2E052);
|
||||
static const Color grey = Color(0xFF96969C);
|
||||
static const Color darkGrey = Color(0xFF57575C);
|
||||
static const Color CommonCyan = Color(0xff68C4C6);
|
||||
static const Color GreyText = Color(0xff575757);
|
||||
static const Color LightGrey = Color(0xfff1f1f1);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,6 @@
|
|||
// App
|
||||
const String appTitle = 'Cargo App';
|
||||
|
||||
const String infoText =
|
||||
"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 Let";
|
||||
|
||||
const String phoneNumber = "+201016381636"; // Replace with the recipient's phone number
|
||||
|
||||
// Storage and Databases
|
||||
const String articlesTableName = '';
|
||||
const String databaseName = '';
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ class _LoginScreenState extends State<LoginScreen> {
|
|||
child: Column(
|
||||
children: [
|
||||
SvgPicture.asset(
|
||||
AppAssets.Logo,
|
||||
AppAssets.logo,
|
||||
height: AppDimensions.normalize(30),
|
||||
),
|
||||
Space.yf(0.80),
|
||||
|
|
@ -73,7 +73,7 @@ class _LoginScreenState extends State<LoginScreen> {
|
|||
),
|
||||
),
|
||||
Image.asset(
|
||||
AppAssets.TrucksPng,
|
||||
AppAssets.trucksPng,
|
||||
height: AppDimensions.normalize(52),
|
||||
width: double.infinity,
|
||||
fit: BoxFit.fill,
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ class _SplashScreenState extends State<SplashScreen> {
|
|||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
SvgPicture.asset(
|
||||
AppAssets.Logo,
|
||||
AppAssets.logo,
|
||||
height: AppDimensions.normalize(30),
|
||||
),
|
||||
Space.yf(0.80),
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ class Splash2Screen extends StatelessWidget {
|
|||
|
||||
/// images
|
||||
Image.asset(
|
||||
AppAssets.BoxesPng,
|
||||
AppAssets.boxesPng,
|
||||
height: AppDimensions.normalize(90),
|
||||
),
|
||||
Space.yf(),
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ class OrderHeader extends StatelessWidget {
|
|||
child: Stack(
|
||||
children: [
|
||||
Image.asset(
|
||||
AppAssets.Header,
|
||||
AppAssets.header,
|
||||
fit: BoxFit.fill,
|
||||
),
|
||||
Positioned(
|
||||
|
|
|
|||
Loading…
Reference in New Issue