Giter Club home page Giter Club logo
  • šŸ‘‹ Hi, Iā€™m @HamzaAitMezouar
  • Mobile App Development with Flutter.
  • Building robust backends with Node.js and Prisma/Django.
  • Integrating Stripe for online payments.
  • Crafting efficient database schemas and queries.
  • Developing RESTful and GraphQL APIs.
  • Utilizing AWS Amplify for serverless infrastructure.
  • Experience with real-time mobile applications with Realm and Firebase.

Hamza Ait Mezoaur's Projects

ecommere_app icon ecommere_app

An App where you can Authenticate and buy products with Paypal

flutter icon flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond

flutter_pulltorefresh icon flutter_pulltorefresh

a widget provided to the flutter scroll component drop-down refresh and pull up load.translation to arabic

kora icon kora

A flutter application where you can reserve a football stadium in your area choose if you are alone and want to play with strangers our you are a team searching for competition . while you can also pay the fees the stadium requires . Since not everyone has the time to organize a game you can now dress up and go enjoy your favourite hobby of all time

text icon text

import 'dart:async'; import 'dart:convert'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; class AppLocalizations { final Locale locale; AppLocalizations(this.locale); // Helper method to keep the code in the widgets concise // Localizations are accessed using an InheritedWidget "of" syntax static AppLocalizations of(BuildContext context) { return Localizations.of<AppLocalizations>(context, AppLocalizations); } Map<String, String> _localizedStrings; static const LocalizationsDelegate<AppLocalizations> delegate = _AppLocalizationsDelegate(); Future<bool> load() async { // Load the language JSON file from the "lang" folder String jsonString = await rootBundle.loadString('lang/${locale.languageCode}.json'); Map<String, dynamic> jsonMap = json.decode(jsonString); _localizedStrings = jsonMap.map((key, value) { return MapEntry(key, value.toString()); }); return true; } // This method will be called from every widget which needs a localized text String translate(String key) { return _localizedStrings[key]; } } class _AppLocalizationsDelegate extends LocalizationsDelegate<AppLocalizations> { // This delegate instance will never change (it doesn't even have fields!) // It can provide a constant constructor. const _AppLocalizationsDelegate(); @override bool isSupported(Locale locale) { // Include all of your supported language codes here return ['en', 'fr','ar'].contains(locale.languageCode); } @override Future<AppLocalizations> load(Locale locale) async { // AppLocalizations class is where the JSON loading actually runs AppLocalizations localizations = new AppLocalizations(locale); await localizations.load(); return localizations; } @override bool shouldReload(_AppLocalizationsDelegate old) => false; }

tripma icon tripma

If you want to visit a beautiful place in Morroco here you will have some Of the best Destinations

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.