Wordle clone flutter - Wordle clone built with flutter

Overview

Wordle

coverage style: very good analysis License: MIT

Generated by the Very Good CLI πŸ€–

A Very Good Project created by Very Good CLI.


Getting Started πŸš€

This project contains 3 flavors:

  • development
  • staging
  • production

To run the desired flavor either use the launch configuration in VSCode/Android Studio or use the following commands:

# Development
$ flutter run --flavor development --target lib/main_development.dart

# Staging
$ flutter run --flavor staging --target lib/main_staging.dart

# Production
$ flutter run --flavor production --target lib/main_production.dart

*Wordle works on iOS, Android, and Web.


Running Tests πŸ§ͺ

To run all unit and widget tests use the following command:

$ flutter test --coverage --test-randomize-ordering-seed random

To view the generated coverage report you can use lcov.

# Generate Coverage Report
$ genhtml coverage/lcov.info -o coverage/

# Open Coverage Report
$ open coverage/index.html

Working with Translations 🌐

This project relies on flutter_localizations and follows the official internationalization guide for Flutter.

Adding Strings

  1. To add a new localizable string, open the app_en.arb file at lib/l10n/arb/app_en.arb.
{
    "@@locale": "en",
    "counterAppBarTitle": "Counter",
    "@counterAppBarTitle": {
        "description": "Text shown in the AppBar of the Counter Page"
    }
}
  1. Then add a new key/value and description
{
    "@@locale": "en",
    "counterAppBarTitle": "Counter",
    "@counterAppBarTitle": {
        "description": "Text shown in the AppBar of the Counter Page"
    },
    "helloWorld": "Hello World",
    "@helloWorld": {
        "description": "Hello World Text"
    }
}
  1. Use the new string
import 'package:wordle/l10n/l10n.dart';

@override
Widget build(BuildContext context) {
  final l10n = context.l10n;
  return Text(l10n.helloWorld);
}

Adding Supported Locales

Update the CFBundleLocalizations array in the Info.plist at ios/Runner/Info.plist to include the new locale.

    ...

    <key>CFBundleLocalizations</key>
	<array>
		<string>en</string>
		<string>es</string>
	</array>

    ...

Adding Translations

  1. For each supported locale, add a new ARB file in lib/l10n/arb.
β”œβ”€β”€ l10n
β”‚   β”œβ”€β”€ arb
β”‚   β”‚   β”œβ”€β”€ app_en.arb
β”‚   β”‚   └── app_es.arb
  1. Add the translated strings to each .arb file:

app_en.arb

{
    "@@locale": "en",
    "counterAppBarTitle": "Counter",
    "@counterAppBarTitle": {
        "description": "Text shown in the AppBar of the Counter Page"
    }
}

app_es.arb

{
    "@@locale": "es",
    "counterAppBarTitle": "Contador",
    "@counterAppBarTitle": {
        "description": "Texto mostrado en la AppBar de la pΓ‘gina del contador"
    }
}
You might also like...

This is a HubSpot clone Application built with DhiWise. It uses HubSpot APIs to store and retrieve data.

This is a HubSpot clone Application built with DhiWise. It uses HubSpot APIs to store and retrieve data.

HubSpot A Flutter Application, Built with ❀️ from DhiWise This is a HubSpot clone Application built with Flutter. It uses HubSpot APIs to store and re

Nov 27, 2022

A fully functional Movies Application built with Flutter. The application built with null safety and clean architecture, also uses OMDB API for fetching movies in the search item

A fully functional Movies Application built with Flutter. The application built with null safety and clean architecture, also uses OMDB API for fetching movies in the search item

Cinema DB Project Details This project uses null safety feature Project uses clean code architecture (Uncle Bob's Architecture) Project can run on bot

Oct 1, 2022

Github Trending app built with Flutter+Redux+Built(Immutable Data)

Github Trending app built with Flutter+Redux+Built(Immutable Data)

May 13, 2020

Flutter-Udemy - - A Udemy clone using Flutter sdk and dart.

Flutter-Udemy - - A Udemy clone using Flutter sdk and dart.

udemy_clone A new Flutter project. Below are some images : Getting Started This project is a starting point for a Flutter application. A few resources

Apr 24, 2022

Flutter-meet - A Google Meet clone made in Flutter using 100ms

Flutter-meet - A Google Meet clone made in Flutter using 100ms

Flutter x Meet - Google Meet clone made in Flutter Google Meet clone made in Flu

Nov 30, 2022

Bimono-Flutter - Bimono is flutter UI Clone from Binomo Trading Application

flutter_bimono_clone A new Flutter project. Getting Started When you running in

Nov 6, 2022

Whatsapp UI clone made with Flutter; it is compatible with any type of Android and iOS devices.

whats_app Whatsapp UI built with Flutter; it is compatible and responsive with any type of Android and iOS devices. Getting Started This project is a

Sep 23, 2021

YouTube Clone - Frontend in Flutter

youtube_clone A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if

Nov 4, 2021

Code With Andrea Home Page - Flutter Clone

Code With Andrea Home Page - Flutter Clone

Code With Andrea - Flutter Clone This project is a Flutter clone of the home page at codewithandrea.com. It was built to analyze the performance of th

Dec 28, 2022
Comments
  • ci: add codeowners

    ci: add codeowners

    Description

    Type of Change

    • [ ] ✨ New feature (non-breaking change which adds functionality)
    • [ ] πŸ› οΈ Bug fix (non-breaking change which fixes an issue)
    • [ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
    • [ ] 🧹 Code refactor
    • [x] βœ… Build configuration change
    • [ ] πŸ“ Documentation
    • [ ] πŸ—‘οΈ Chore
    opened by omartinma 0
  • chore: description

    chore: description

    Description

    Type of Change

    • [ ] ✨ New feature (non-breaking change which adds functionality)
    • [ ] πŸ› οΈ Bug fix (non-breaking change which fixes an issue)
    • [ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
    • [ ] 🧹 Code refactor
    • [x] βœ… Build configuration change
    • [ ] πŸ“ Documentation
    • [ ] πŸ—‘οΈ Chore
    opened by omartinma 0
Owner
Oscar
Oscar
Wordle It's fun, simple and, like a crossword.

Wordle It's fun, simple and, like a crossword. Getting Started Wordle gives players six chances to guess a randomly selected five-letter word. As show

Amogh Nagar 5 Nov 28, 2022
Netflix clone flutter - A clone of netflix UI Built with flutter

Netflix Clone Ui Projeto onde foi criado um clone da interface da Netflix para m

null 4 Aug 18, 2022
Instagram-clone - Instagram clone built using flutter and Firebase

Instagram-clone statistics of Firebase usage User Authentication for Instagram l

null 5 Jul 18, 2022
Instagram clone built using flutter and firebase

instagram_clone An instagram clone built using Flutter and Firebase. Introduction Flutter is a develpment kit created by google using which you can bu

Nadeem Choudhary 3 Jun 8, 2022
A Gmail Clone built with Flutter

gmail_clone A new Flutter application to showcase how to build Gmail with Flutter. Video Tutorial: YouTube Screenshots Example import 'package:floatin

Rody Davis 785 Jan 8, 2023
YouTube Music Clone Built With Flutter

YouTube Music A part of a #100flutterprojects. Lets spot the difference ?? class YouTubeMusic_clone extends 100flutterprojects { video() { retur

Akindoyin Faruq 6 Dec 29, 2022
Youtubeclone - Youtube Clone UI Built With Flutter supports all platforms

Youtube Clone Flutter Youtube Clone UI supports all platforms. UI youtube.clone.

Aderoju Israel 1 Jun 23, 2022
Job-App - Linkedin Clone app built with flutter

linkedin_clone Linkedin_Clone app Android Mobile Application Screenshot Home Adm

null 4 Sep 13, 2022
A working Twitter clone built in Flutter using Firebase auth,realtime,firestore database and storage.

Fwitter - Twitter clone in flutter A working Twitter clone built in Flutter using Firebase auth,realtime,firestore database and storage. Dependencies

Dominique Rwema Bagirishya 31 Oct 5, 2022
Responsive Full Stack Reddit Clone - Works on Android, iOS & Web! built with Flutter πŸš€πŸ’™

?? ??️ ?? ??️ ?? ??️ ?? ??️ UNDER CONSTRUCTION ?? ??️ ?? ??️ ?? ??️ ?? ??️ Reddit Clone ?? ?? Responsive Full Stack Reddit Clone - Works on Android, i

SOLOMON ABUH 3 Dec 15, 2022