-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lsucessfully added location permission ❇️
- Loading branch information
Showing
45 changed files
with
445 additions
and
283 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import 'package:flutter/material.dart'; | ||
|
||
class AppColors { | ||
static final AppColors _instance = AppColors._internal(); | ||
|
||
factory AppColors() => _instance; | ||
|
||
AppColors._internal(); | ||
|
||
static const darkRed = Color(0xFFA42823); | ||
static const blackColor = Color(0xFF000000); | ||
static const whiteColor = Color(0xFFFFFFFF); | ||
static final blackWithOpacity = const Color(0xFF000000).withOpacity(0.9); | ||
static const darkGreyColor = Color(0xFF7F7777); | ||
static const brightRedColor = Color(0XFFEF0606); | ||
static const colorGrey = Color(0XFF6A6464); | ||
static final redWithLowOpacity = const Color(0XFFffb6b6).withOpacity(0.4); | ||
static const keyboardColor = Color(0xFF898A8D); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import 'package:flutter_screenutil/flutter_screenutil.dart'; | ||
|
||
class SizeOf { | ||
SizeOf._internal(); | ||
|
||
static double carouselWidth = 264.sp; | ||
static double carouselHeight = 254.sp; | ||
static double carouselBodyHeight = 54.sp; | ||
static double carouselBodyWidth = 262.sp; | ||
static double similarTasteWidth = 258.sp; | ||
static double similarTasteHeight = 225.sp; | ||
|
||
static double p2 = 2.sp; | ||
static double p4 = 4.sp; | ||
|
||
static double p6 = 6.sp; | ||
|
||
static double p8 = 8.sp; | ||
|
||
static double p10 = 10.sp; | ||
|
||
static double p12 = 12.sp; | ||
|
||
static double p14 = 14.sp; | ||
|
||
static double p16 = 16.sp; | ||
|
||
static double p18 = 18.sp; | ||
|
||
static double p20 = 20.sp; | ||
|
||
static double p22 = 22.sp; | ||
|
||
static double p24 = 24.sp; | ||
static double p26 = 26.sp; | ||
static double p28 = 28.sp; | ||
|
||
static double p30 = 30.sp; | ||
|
||
static double p32 = 32.sp; | ||
|
||
static double p34 = 34.sp; | ||
static double p36 = 36.sp; | ||
static double p38 = 38.sp; | ||
static double p40 = 40.sp; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import 'package:dating_app/app/common/constants/app_colors.dart'; | ||
import 'package:flutter/material.dart'; | ||
|
||
abstract class ShowDialog { | ||
ShowDialog._(); | ||
|
||
Future<T?> showDialog<T>({ | ||
required BuildContext context, | ||
required Widget Function(BuildContext) builder, | ||
bool barrierDismmissible = true, | ||
Color? barrierColor = AppColors.darkRed, | ||
String? barrierLabel, | ||
TraversalEdgeBehavior? traversalEdgeBehavior, | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.