-
Notifications
You must be signed in to change notification settings - Fork 800
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed in Flutter 3.10.6, Available on idx.dev and Github CodeSpaces
- Loading branch information
Showing
6 changed files
with
108 additions
and
40 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM dart | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y curl git unzip xz-utils zip libglu1-mesa | ||
|
||
RUN apt-get clean | ||
|
||
RUN git clone https://github.com/flutter/flutter.git -b 3.10.6 --depth 1 /flutter | ||
ENV PATH="/flutter/bin:$PATH" | ||
RUN flutter doctor | ||
RUN dart fix --apply |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"build": { | ||
"dockerfile": "Dockerfile" | ||
}, | ||
"forwardPorts": [3000], | ||
"name": "Flutter", | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"Dart-Code.dart-code", | ||
"Dart-Code.flutter" | ||
] | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{pkgs}: { | ||
channel = "stable-24.11"; | ||
packages = [ | ||
pkgs.jdk17 | ||
pkgs.unzip | ||
]; | ||
idx.extensions = [ | ||
|
||
]; | ||
idx.previews = { | ||
previews = { | ||
web = { | ||
command = [ | ||
"flutter" | ||
"run" | ||
"--machine" | ||
"-d" | ||
"web-server" | ||
"--web-hostname" | ||
"0.0.0.0" | ||
"--web-port" | ||
"$PORT" | ||
]; | ||
manager = "flutter"; | ||
}; | ||
android = { | ||
command = [ | ||
"flutter" | ||
"run" | ||
"--machine" | ||
"-d" | ||
"android" | ||
"-d" | ||
"localhost:5555" | ||
]; | ||
manager = "flutter"; | ||
}; | ||
}; | ||
}; | ||
} |
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