Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

Rexios80/flutter_m1_patcher

Repository files navigation

NOTE: Flutter 3.0.0 includes the arm64 dart sdk by default. This package is no longer needed unless you are using older versions of Flutter.


This script replaces Flutter's bundled Dart SDK with the macOS arm64 version

Getting Started

Set up Flutter as normal and run flutter doctor

Install Dart form homebrew:

$ brew tap dart-lang/dart
$ brew install dart

This script nukes Flutter's bundled Dart SDK, so trying to run this script with Flutter's bundled Dart SDK will fail

Use as an executable

Installation

$ dart pub global activate flutter_m1_patcher

Usage

Run flutterpatch in a terminal

Run with -p to specify the Flutter root path

Additional Information

If things go bad, delete flutter/bin/cache and run flutter doctor. This will reset the bundled Dart SDK to the one shipped with Flutter.

You will need to run flutterpatch after every flutter upgrade

About

Replaces Flutter's bundled Dart SDK with the macOS arm64 version

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages