-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
88 changed files
with
544 additions
and
605 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
# Papa Burger | ||
# Yandex Food Delivery Clone | ||
|
||
Yandex food delivery app clone. | ||
## 💫 About The Project | ||
|
||
## Getting Started | ||
[![Github-repository-preview.png](https://i.postimg.cc/JnDCG5Q6/Papa-Burger-food-delivery-app-Preview.png)] | ||
|
||
This project is built using Flutter with Dart programming language. It has over | ||
10 screens and a lot of functionals. It uses custom backend server, based on Dart | ||
using Dart Frog package. | ||
|
||
![alt text](https://i.postimg.cc/JnDCG5Q6/Papa-Burger-food-delivery-app-Preview.png) | ||
This project is built using Flutter & Dart. It has over | ||
10 screens. It uses custom backend server, based on Dart using Dart Frog package. | ||
|
||
This application is used to order food from over than 1000 restaurants, making it | ||
easy to investigate favourite food and quickly get it done. |
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,55 @@ | ||
import 'package:flutter/material.dart'; | ||
|
||
/// Defines the color palette for the App UI Kit. | ||
abstract class AppColors { | ||
/// Black | ||
static const Color black = Color(0xFF000000); | ||
|
||
/// The background color. | ||
static const Color background = Color.fromARGB(255, 32, 30, 30); | ||
|
||
/// White | ||
static const Color white = Color(0xFFFFFFFF); | ||
|
||
/// Transparent | ||
static const Color transparent = Color(0x00000000); | ||
|
||
/// The light blue color. | ||
static const Color lightBlue = Color.fromARGB(255, 100, 181, 246); | ||
|
||
/// The blue primary color and swatch. | ||
static const Color blue = Color(0xFF3898EC); | ||
|
||
/// The deep blue color. | ||
static const Color deepBlue = Color(0xff337eff); | ||
|
||
/// The border outline color. | ||
static const Color borderOutline = Color.fromARGB(45, 250, 250, 250); | ||
|
||
/// Light dark. | ||
static const Color lightDark = Color.fromARGB(164, 120, 119, 119); | ||
|
||
/// Dark. | ||
static const Color dark = Color.fromARGB(255, 58, 58, 58); | ||
|
||
/// Primary dark blue color. | ||
static const Color primaryDarkBlue = Color(0xff1c1e22); | ||
|
||
/// Grey. | ||
static const Color grey = Colors.grey; | ||
|
||
/// The bright grey color. | ||
static const Color brightGrey = Color.fromARGB(255, 224, 224, 224); | ||
|
||
/// The dark grey color. | ||
static const Color darkGrey = Color.fromARGB(255, 66, 66, 66); | ||
|
||
/// The emphasize grey color. | ||
static const Color emphasizeGrey = Color.fromARGB(255, 97, 97, 97); | ||
|
||
/// The emphasize dark grey color. | ||
static const Color emphasizeDarkGrey = Color.fromARGB(255, 40, 37, 37); | ||
|
||
/// Red material color. | ||
static const MaterialColor red = Colors.red; | ||
} |
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
13 changes: 0 additions & 13 deletions
13
lib/src/config/extensions/disalow_indicator_extension.dart
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
export 'build_context_extension.dart'; | ||
export 'connection_state_to_status.dart'; | ||
export 'disalow_indicator_extension.dart'; | ||
export 'ignore_pointer_extension.dart'; | ||
export 'navigator_extension.dart'; | ||
export 'show_bottom_modal_sheet_extension.dart'; | ||
export 'snack_bar_extension.dart'; | ||
export 'text_style_extension.dart'; | ||
export 'to_upper_case_extension.dart'; | ||
export 'trimmed_converted_string_contains_extension.dart'; |
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 |
---|---|---|
@@ -1,15 +1,6 @@ | ||
// ignore_for_file: avoid_bool_literals_in_conditional_expressions | ||
|
||
import 'package:flutter/material.dart' show IgnorePointer, Widget; | ||
|
||
extension IngnorePointerExtension on Widget { | ||
extension IgnorePointerX on Widget { | ||
Widget ignorePointer({required bool isMoving, bool isMarker = false}) => | ||
IgnorePointer( | ||
/// If the boolen variable isMarker is true, that means that we use | ||
/// ignore pointer for marker to allow user to move camera through it. | ||
/// Otherwise we just ignoring pointer of any widget of it ancestor | ||
/// when camera is moving in order to prevent random taps on any widgets | ||
ignoring: isMarker ? true : isMoving, | ||
child: this, | ||
); | ||
IgnorePointer(ignoring: isMarker || isMoving, child: this); | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
import 'package:flutter/material.dart'; | ||
|
||
/// {@template text_style_extension} | ||
/// TextStyle extension that provides access to [ThemeData] and [TextTheme]. | ||
/// {@endtemplate} | ||
extension TextStyleExtension on BuildContext { | ||
/// Returns [ThemeData] from [Theme.of]. | ||
ThemeData get theme => Theme.of(this); | ||
|
||
/// Returns [TextTheme] from [Theme.of] | ||
TextTheme get textTheme => theme.textTheme; | ||
|
||
/// Material body large text style. | ||
TextStyle? get bodyLarge => textTheme.bodyLarge; | ||
|
||
/// Material body medium text style. | ||
TextStyle? get bodyMedium => textTheme.bodyMedium; | ||
|
||
/// Material body small text style. | ||
TextStyle? get bodySmall => textTheme.bodySmall; | ||
|
||
/// Material display large text style. | ||
TextStyle? get displayLarge => textTheme.displayLarge; | ||
|
||
/// Material display medium text style. | ||
TextStyle? get displayMedium => textTheme.displayMedium; | ||
|
||
/// Material display small text style. | ||
TextStyle? get displaySmall => textTheme.displaySmall; | ||
|
||
/// Material headline large text style. | ||
TextStyle? get headlineLarge => textTheme.headlineLarge; | ||
|
||
/// Material headline medium text style. | ||
TextStyle? get headlineMedium => textTheme.headlineMedium; | ||
|
||
/// Material headline small text style. | ||
TextStyle? get headlineSmall => textTheme.headlineSmall; | ||
|
||
/// Material label large text style. | ||
TextStyle? get labelLarge => textTheme.labelLarge; | ||
|
||
/// Material label medium text style. | ||
TextStyle? get labelMedium => textTheme.labelMedium; | ||
|
||
/// Material label small text style. | ||
TextStyle? get labelSmall => textTheme.labelSmall; | ||
|
||
/// Material title large text style. | ||
TextStyle? get titleLarge => textTheme.titleLarge; | ||
|
||
/// Material title medium text style. | ||
TextStyle? get titleMedium => textTheme.titleMedium; | ||
|
||
/// Material title small text style. | ||
TextStyle? get titleSmall => textTheme.titleSmall; | ||
} |
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.
Oops, something went wrong.