Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.
/ langx-flutter Public archive

Here is the Flutter-based version of the LangX application, originally developed using the Ionic Angular framework.

License

Notifications You must be signed in to change notification settings

langx/langx-flutter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Important

This repo is a work in progress and is not yet ready for production use.

langx-flutter

Here is the Flutter-based version of the LangX application, originally developed using the Ionic Angular framework.

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Tech Stack

Installation

Prerequisites

  • Flutter SDK: Ensure that you have the Flutter SDK installed. If not, follow the instructions here to install it.
  • Dart SDK: Dart is included with the Flutter SDK.
  • IDE: It is recommended to use an IDE like Visual Studio Code or Android Studio with the Flutter and Dart plugins installed.
  • Emulator/Simulator: Have an emulator (Android or iOS) or a physical device set up for testing.

  • Homebrew (macOS)
brew install flutter
  • Chocolatey (Windows):
> choco install flutter
  • Snap (Linux):
sudo snap install flutter --classic
  • APT (Debian/Ubuntu):
sudo apt install flutter

Clone the Repository

If you haven't already cloned the repository, you can do so with the following command:

git clone https://github.com/langx/langx-flutter.git
cd langx-flutter

Install Dependencies

Navigate to the project directory and install the necessary dependencies:

flutter pub get

Configure the Project

Copy the .env.sample file to .env:

cp .env.sample .env

Ensure that the project configuration is correct and any necessary environment variables or settings are set up.

Running the Project

To run the project on an emulator or physical device, use the following command:

## chrome
flutter run -d chrome
## or
flutter run -d <device_id>

Testing the Project

To run the tests for the project, use the following command:

$ flutter test
00:04 +1: All tests passed!

Additional Commands

Analyzing Code:

$ flutter analyze
Analyzing langx-flutter...
No issues found! (ran in 0.7s)

List Devices:

flutter devices

Setting Up IDE

If you are using Visual Studio Code or Android Studio, make sure to install the Flutter and Dart plugins to enhance your development experience.

  • Visual Studio Code: Install the Flutter and Dart extensions from the Extensions Marketplace.
  • Android Studio: Install the Flutter and Dart plugins from the Plugin Preferences.

With these steps, you should be able to build, run, and test the 'langx-flutter' project. Let me know if you encounter any issues or need further assistance!

Build and Deploy

Building the Project

To build the project for different platforms, use the following commands:

  • Android:

    flutter build apk
  • iOS:

    flutter build ios
  • Web:

    flutter build web

Deploying the Project

To deploy the project to different platforms, follow the official documentation for each platform.

Issues

If you encounter any issues, feel free to open an issue at langx/langx-flutter/issues. If you can fix the issue, please do so and open a pull request.

Contributing

We welcome contributions from the community! If you'd like to contribute to the Flutter version of LangX , please fork our repository, make some improvements, and submit a pull request. We'll review your changes and merge them if they meet our guidelines. You can find out more about this in CONTRIBUTING.md. Thank you for helping to make this page even better!

LangX is an open source project and we welcome contributions from the community. If you're interested in contributing, please check out our GitHub repository for more information.

Stargazers

Stargazers over time

Contributors

GitHub Contributor Over Time

GitHub Contributors Image

License

The Flutter version of LangX is released under the BSD 3-Clause License. If you use this project, please include the license file in your distribution.