Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.12.0 - 2026-06-25

- flutter 3.44.x compatibility
- fix `dart analyze` errors and warnings
- fix `pub get` version conflict with `test` package

## 0.11.0 - 2026-04-19

- flutter 3.41.x compatibility (thanks to [@miguelzapp](https://github.com/miguelzapp)!)
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ Flutter-Pi Tool
Project
build Builds a flutter-pi asset bundle.
run Run your Flutter app on an attached device.
test Run Flutter unit tests for the current project.

Tools & Devices
devices List & manage flutterpi_tool devices.
Expand Down
14 changes: 14 additions & 0 deletions lib/src/authenticating_artifact_updater.dart
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,20 @@ class AuthenticatingArtifactUpdater implements ArtifactUpdater {
return file;
}

@override
void setProgressContext({
required int artifactIndex,
required int artifactTotal,
required int downloadTotal,
int downloadIndex = 0,
}) {}

@override
void resetProgressContext() {}

@override
String formatProgressMessage(String artifactName) => artifactName;

@override
void removeDownloadedFiles() {
for (final file in downloadedFiles) {
Expand Down
1 change: 1 addition & 0 deletions lib/src/more_os_utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ class MoreOperatingSystemUtilsWrapper implements MoreOperatingSystemUtils {
HostPlatform.darwin_arm64 => FlutterpiHostPlatform.darwinARM64,
HostPlatform.linux_x64 => FlutterpiHostPlatform.linuxX64,
HostPlatform.linux_arm64 => FlutterpiHostPlatform.linuxARM64,
HostPlatform.linux_riscv64 => FlutterpiHostPlatform.linuxRV64,
HostPlatform.windows_x64 => FlutterpiHostPlatform.windowsX64,
HostPlatform.windows_arm64 => FlutterpiHostPlatform.windowsARM64,
};
Expand Down
12 changes: 6 additions & 6 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutterpi_tool
description: A tool to make development & distribution of flutter-pi apps easier.
version: 0.11.0
version: 0.12.0
repository: https://github.com/ardera/flutterpi_tool

environment:
Expand All @@ -15,18 +15,18 @@ executables:
dependencies:
flutter_tools:
sdk: flutter
package_config: ^2.1.0
package_config: ^2.2.0
github: ^9.15.0
file: ">=6.1.4 <8.0.0"
path: ^1.8.3
args: ^2.4.0
http: ">=0.13.6 <2.0.0"
meta: ^1.10.0
meta: ^1.18.0
process: ^5.0.0
unified_analytics: ">=7.0.0 <9.0.0"
archive: ^3.3.2
archive: ^3.6.1
crypto: ^3.0.3

dev_dependencies:
lints: ^2.0.0
test: ^1.21.0
lints: ^6.1.0
test: ^1.31.0
3 changes: 3 additions & 0 deletions test/src/fake_flutter_version.dart
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ class FakeFlutterVersion implements fltool.FlutterVersion {
@override
Future<void> ensureVersionFile() async {}

@override
void deleteVersionFile() {}

@override
String getBranchName({bool redactUnknownBranches = false}) {
if (!redactUnknownBranches ||
Expand Down
8 changes: 8 additions & 0 deletions test/src/test_feature_flags.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ class TestFeatureFlags implements fl.FeatureFlags {
this.isDartDataAssetsEnabled = false,
this.isUISceneMigrationEnabled = false,
this.isWindowingEnabled = false,
this.isAccessibilityEvaluationsEnabled = false,
this.isRiscv64SupportEnabled = false,
});

@override
Expand Down Expand Up @@ -68,6 +70,12 @@ class TestFeatureFlags implements fl.FeatureFlags {
@override
final bool isWindowingEnabled;

@override
final bool isAccessibilityEvaluationsEnabled;

@override
final bool isRiscv64SupportEnabled;

@override
bool isEnabled(fl.Feature feature) {
return switch (feature) {
Expand Down