Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stelynx/flutter_versio_frigidus
Working with Flutter projects built with different versions made easy 🚀
https://github.com/stelynx/flutter_versio_frigidus
flutter version-manager
Last synced: 25 days ago
JSON representation
Working with Flutter projects built with different versions made easy 🚀
- Host: GitHub
- URL: https://github.com/stelynx/flutter_versio_frigidus
- Owner: stelynx
- License: gpl-3.0
- Created: 2021-10-04T08:30:58.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-05T11:48:47.000Z (over 3 years ago)
- Last Synced: 2024-11-05T21:48:22.459Z (2 months ago)
- Topics: flutter, version-manager
- Language: Dart
- Homepage:
- Size: 39.1 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Flutter Versio Frigidus
_Did you ever continue to work on an old Flutter project that just did not work
with the newer Flutter version? Did you struggle to find that one correct version
where all the framework classes and functions actually worked and nothing was broken?
If so, then read on! If not, you might still be convinced to use this tool.__Flutter Versio Frigidus (latin for Flutter Version Freeze) helps developers working on multiple Flutter projects that
were created using different Flutter versions to easily switch between Flutter
versions based on their projects._ 🥳[![Pub Version](https://img.shields.io/pub/v/flutter_versio_frigidus?color=%233dc6fd&logo=flutter&logoColor=%233dc6fd)](https://pub.dev/packages/flutter_versio_frigidus)
![Lint & Test](https://github.com/stelynx/flutter_versio_frigidus/workflows/Lint%20&%20Test/badge.svg)
[![codecov.io](https://codecov.io/gh/stelynx/flutter_versio_frigidus/branch/master/graphs/badge.svg)](https://codecov.io/gh/stelynx/flutter_versio_frigidus/branch/master)
![GitHub Repo stars](https://img.shields.io/github/stars/stelynx/flutter_versio_frigidus?color=gold&logo=github)
![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/stelynx/flutter_versio_frigidus)
[![GitHub](https://img.shields.io/github/license/stelynx/flutter_versio_frigidus)](LICENSE)## Features
There are two main features of Flutter Versio Frigidus. The first one is the
extraction of current Flutter framework version or revision and saving it to the
project root directory. The second one is setting the current Flutter version to
the one needed for given project.## Getting started
This tool can be installed in two different ways, globally and per project, however
since this tool is meant to be used across projects, we strongly encourage everyone
to install it globally.### Global installation
Simply run
```shell_script
pub global activate flutter_versio_frigidus
```and Flutter Versio Frigidus can now be run from anywhere on your machine (however it
only makes sense to run it from project root).### Per-project installation
Require this package in your application's `pubspec.yaml` in `dev_dependencies` like
```yaml
dev_dependencies:
flutter_versio_frigidus: ^1.1.0
```## Usage
Flutter Versio Frigidus exposes two commands that are completely equivalent, one is more verbose
(`flutter_versio_frigidus`) and the shorter version (`fvf`). Running this tool depends on how you
installed it. For global installation, you can simply run```shell_script
fvf # or flutter_versio_frigidus
```and for per-project installation (in this case you have to be in the project root directory, however
you should be there also in the global installation case)```shell_script
pub run fvf # or pub run flutter_versio_frigidus
```### Flags
This tool is always meant to be run with **exactly one flag**. Running the tool without any flags
will print help to the console, listing all available flags.Available flags are presented in the following table.
Flag
Description
--freeze
Save current Flutter version
--freeze-revision
Save current Flutter revision
--restore
Checkout freezed Flutter version / revision
## Contributing
This tool is pretty self-content, although if you have any problems, questions,
further enhancement ideas, please fill free to file an issue or even a pull request.