Skip to content

Instantly share code, notes, and snippets.

View AdelDaniel's full-sized avatar
:octocat:

Adel N. Daniel AdelDaniel

:octocat:
View GitHub Profile

📱 Project Title: Flutter Assignment

🧩 Overview

Congratulations on making it to the next stage of our selection process! We're excited to learn more about how you think, build, and write code.

As the next step, we’d like you to complete a Flutter assignment.

This app simulates a real-world feature set where users can:

@AdelDaniel
AdelDaniel / github-instructions.md
Created April 12, 2025 15:21
github instructions for Flutter github-instructions.md

@workspace

Follow these instructions for Flutter app development, including code generation, file modifications, and adherence to best practices. These guidelines emphasize SOLID principles, clean architecture, and Flutter-specific mobile development patterns for scalable, maintainable, and performant applications.

#fetch https://flutter.dev/docs/perf/rendering/ui-performance #fetch https://flutter.dev/docs/development/tools/devtools #fetch https://pub.dev/packages/very_good_analysis #fetch https://pub.dev/packages/melos #fetch https://flutter.dev/docs/cookbook #fetch https://docs.flutter.dev/ui/animations

Privacy Policy
----------------
### Introduction
Our privacy policy will help you understand what information we collect at *Barca عربي*, how *Barca عربي* uses it, and what choices you have.
*Barca عربي* built the *Barca عربي* app as a free app. This SERVICE is provided by *Barca عربي* at no cost and is intended for use as is.
If you choose to use our Service, then you agree to the collection and use of information in relation with this policy. The Personal Information that we collect are used for providing and improving the Service. We will not use or share your information with anyone except as described in this Privacy Policy.
The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible in our website, unless otherwise defined in this Privacy Policy.
### Information Collection and Use
{
"AD": "Andorra",
"AE": "United Arab Emirates",
"AF": "Afghanistan",
"AG": "Antigua & Barbuda",
"AI": "Anguilla",
"AL": "Albania",
"AM": "Armenia",
"AO": "Angola",
"AQ": "Antarctica",
@AdelDaniel
AdelDaniel / TimeZones.dart
Last active May 6, 2025 12:58
time zones map in dart
abstract class ApiSportsTimeZones {
const ApiSportsTimeZones._();
static const String africaAbidjan = "Africa/Abidjan";
static const String africaAccra = "Africa/Accra";
static const String africaAddisAbaba = "Africa/Addis_Ababa";
static const String africaAlgiers = "Africa/Algiers";
static const String africaAsmara = "Africa/Asmara";
static const String africaBamako = "Africa/Bamako";
static const String africaBangui = "Africa/Bangui";
static const String africaBanjul = "Africa/Banjul";
@AdelDaniel
AdelDaniel / dart.json
Last active June 28, 2023 14:03
Snippet, I used in vs-code for dart programming language and flutter
{
// "prefix": "scs": "static const String"
// "prefix": "bstl": "create BaseStatelessWidget"
// "prefix": "bstf": "create BaseStatefulWidget"
// "prefix": "onbloc": "create on Method for bloc"
// "prefix": "statebloc": "create State class for bloc without props"
// "prefix": "stateblocprop": "create State class for bloc And props":
// "prefix": "eventbloc": "create event class for bloc without props"
// "prefix": "eventblocprop": "create event class for bloc And props":
// "prefix": "staticbloc": "create event class for bloc And props":
@AdelDaniel
AdelDaniel / Extension And Implementation In Dart
Last active June 14, 2021 20:41
this code to show the diff between extend the abstract class and the implementation of it (In dart programming Language)
/*
Dart Abstraction?
1- Nothing called interface in dart (Interface class)
2- you can only make abstract classes
3- NO keyword of abstract before method Declaration
4- abstract classes may contains concrete methods and abstract methods
5- abstract methods with no body
6-Normal methods has body
import 'dart:async';
import 'dart:math';
import 'package:flutter/material.dart';
/*
///******* Stream Controller start from video 6 *********///
1- used to send data to that Stream
* 2- This controller allows sending data, error and done events on its stream.
* 3- this class can be used to create a simple stream that others can listen on, and to push events to that stream.
*/
@AdelDaniel
AdelDaniel / 1-iterators- STL.cpp
Last active October 25, 2019 15:12
STL/C++/introduction iterators C++
#include <bits/stdc++.h>
using namespace std ;
// source
// https://www.geeksforgeeks.org/introduction-iterators-c/
//iterators defination
//1//An iterator is an object (like a pointer)
@AdelDaniel
AdelDaniel / Input Iterators in C++.cpp
Created October 21, 2019 23:35
STL/C++/iterators/inputIterator
//--------------------------------------------------------Input Iterators in C++ ------------------------------------------------//
/*
After going through the template definition of various STL algorithms like
std::find, std::equal, std::count,
you must have found their (template) (function) definition consisting of objects of type Input Iterator.
So what are they and why are they used ?
*/