-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: Migration to Flutter 3.16.9 (#13)
This branch introduces Flutter version upgrade from "3.13.6" (Dart 3.1.3) to "3.16.9" (Dart 3.2.6). This change was made to unify the version of Flutter/Dart used between projects. List of changes: - upgraded Flutter version from "3.13.6" (Dart 3.1.3) to "3.16.9" (Dart 3.2.6) - upgraded packages version to the highest versions compatible with Flutter 3.16.9 - updated deprecated links and information about used Flutter version and in README.md - changed Flutter version in deploy.sh - added "useMaterial3: false" to theme_config.dart, kira_tab_bar.dart, as Material 3 redesigned some widgets used by miro which caused UI issues - replaced WillPopScope -> PopScope within the application, as WillPopScope is deprecated since Flutter 3.12.0 - increased popup size in date_range_dropdown_pop_menu.dart, pop_wrapper_mobile.dart, because date_range_dropdown_pop_menu.dart had an overflow issue - removed ranged constraints from the packages version, Flutter version and Dart version in pubspec.yaml to guarantee the use of their tested and verified version - added pubspec.lock files to .gitignore - unrelated with the branch specific domain: removed Future from globalLocator initialization in locator.dart. None of the methods in this file are asynchronous, making the use of Future unnecessary
- Loading branch information
Showing
15 changed files
with
79 additions
and
1,354 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"flutterSdkVersion": "3.13.6", | ||
"flutterSdkVersion": "3.16.9", | ||
"flavors": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
|
||
# Miscellaneous | ||
*.class | ||
*.lock | ||
*.log | ||
*.pyc | ||
*.swp | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,25 @@ | ||
# miro | ||
|
||
Miro is user interface for KIRA Network to manage accounts, balance and transfer tokens between different wallets. | ||
|
||
## Installation | ||
|
||
Use git clone to download [miro](https://github.com/KiraCore/miro) project. | ||
|
||
```bash | ||
git clone [email protected]:KiraCore/miro.git | ||
``` | ||
|
||
## Usage | ||
The project runs on flutter version **3.13.6**. You can use [fvm](https://fvm.app/docs/getting_started/installation) | ||
|
||
The project runs on flutter version **3.16.9**. You can | ||
use [fvm](https://fvm.app/documentation/getting-started/installation) | ||
for easy switching between versions | ||
|
||
```bash | ||
# Install and use required flutter version | ||
fvm install 3.13.6 | ||
fvm use 3.13.6 | ||
fvm install 3.16.9 | ||
fvm use 3.16.9 | ||
|
||
# Install required packages in pubspec.yaml | ||
fvm flutter pub get | ||
|
@@ -25,9 +31,11 @@ fvm flutter run -d web-server | |
``` | ||
|
||
To generate config files use | ||
|
||
```bash | ||
fvm flutter pub run build_runner | ||
``` | ||
|
||
```bash | ||
# Built-in Commands | ||
# - build: Runs a single build and exits. | ||
|
@@ -43,7 +51,9 @@ fvm flutter pub run build_runner watch --delete-conflicting-outputs | |
``` | ||
|
||
## Tests | ||
|
||
To run Unit Tests / Integration tests | ||
|
||
```bash | ||
# Run all Unit Tests | ||
fvm flutter test test/unit --platform chrome --null-assertions | ||
|
@@ -59,13 +69,15 @@ fvm flutter test test/unit/infra/services/api_kira/query_execution_fee_service_t | |
``` | ||
|
||
## Building, Deploying and Installing | ||
|
||
To build project please run script in [deploy.sh](https://github.com/KiraCore/miro/deploy.sh). \ | ||
Deploy script is only intended to be run on Ubuntu 20.04.4 LTS.\ | ||
After successful build, open index.html in "/miro/build/web".\ | ||
Enjoy! | ||
Enjoy! | ||
|
||
## Contributing | ||
Pull requests are welcome. For major changes, please open an issue first to discuss what would like to improve. Please | ||
|
||
Pull requests are welcome. For major changes, please open an issue first to discuss what would like to improve. Please | ||
make sure to update tests as well. | ||
|
||
## [Licence](./LICENSE.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.