flutter_m1_patcher 1.6.1 copy "flutter_m1_patcher: ^1.6.1" to clipboard
flutter_m1_patcher: ^1.6.1 copied to clipboard

discontinued

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

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

27
likes
160
pub points
0%
popularity

Publisher

verified publisherrexios.dev

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

ansicolor, args, pub_update_checker

More

Packages that depend on flutter_m1_patcher