norbert515 / flutter_ide Goto Github PK
View Code? Open in Web Editor NEWA visual editor for Flutter widgets
License: MIT License
A visual editor for Flutter widgets
License: MIT License
version=2.1.0 (Tue Nov 13 18:22:02 2018 +0100) on "windows_x64"
ExceptionCode=-1073741819, ExceptionFlags=0, ExceptionAddress=00007FFAFCACF4F6
Dumping native stack trace for thread efc
Stack dump aborted because InitialRegisterCheck failed.
The provided release seems to be for Windows only, and since there's no source code, it can't be built for Linux, iOS, Android or Mac.
What is the suitable version for running this project?
PS F:\code\flutter_ide> flutter run -d windows
Because every version of flutter_driver from sdk depends on webdriver 3.0.0 which depends on archive ^3.0.0, every version of flutter_driver from sdk requires archive ^3.0.0.
And because archive >=3.0.0 depends on crypto ^3.0.0 and uuid >=2.0.0-rc1 <3.0.0-nullsafety.0 depends on crypto ^2.0.0, flutter_driver from sdk is incompatible with uuid >=2.0.0-rc1 <3.0.0-nullsafety.0.
So, because widget_maker_2_0 depends on both uuid ^2.0.1 and flutter_driver any from sdk, version solving failed.
Running "flutter pub get" in flutter_ide...
pub get failed (1; So, because widget_maker_2_0 depends on both uuid ^2.0.1 and flutter_driver any from sdk, version solving failed.)
I have tried Channel dev, 1.27.0-4.0.pre, on Microsoft Windows [Version 10.0.18363.1734], locale en-US
and Channel stable, 2.2.3, on Microsoft Windows [Version 10.0.18363.1734], locale en-US
. Both of them do not work.
I need an apk, so I can run it on my chromebook, without needing to compile it.
The app uses a default (EN) keyboard layout, which makes it for me not really usable :(
Didn't see any app which forces it's own keyboard layout other than what you've setup in Windows.
Hey there,
I use Linux and tried to run this in a windows 10 pro virtualbox session but unfortunately received the following. I am guessing it probably just won't work in a VM? I very much am not interested in installing Windows on my PC if I don't have to.
(I did install the C++ runtime files that were linked)
PS C:\Users\mosthated\Downloads\widget-maker\widget-maker-bundled> .\run.bat
C:\Users\mosthated\Downloads\widget-maker\widget-maker-bundled>bin\dart bin\widget-maker.snapshot
Failed to init NativeSymbolResolver (SymInitialize 87)
[ERROR:e:\b\build\slave\windows_engine\build\src\flutter\shell\gpu\gpu_surface_gl.cc(85)] Failed to setup Skia Gr context.
flutter: Observatory listening on http://127.0.0.1:49910/
===== CRASH =====
version=2.1.0 (Tue Nov 13 18:22:02 2018 +0100) on "windows_x64"
ExceptionCode=-1073741819, ExceptionFlags=0, ExceptionAddress=00007FF91157BF1C
Dumping native stack trace for thread d74
[0x00007ff91157bf1c] Unknown symbol
[0x00007ff91157bf1c] Unknown symbol
-- End of DumpStackTrace
PS C:\Users\mosthated\Downloads\widget-maker\widget-maker-bundled>
Thanks,
-MH
Because we can't compile flutter on mobile devices yet and a flutter IDE would most likely still be tied to a computer I'd like to add some ideas.
In a nutshell: There should be a package that can analyze the source code meaningfully and provide information to the source code itself.
What I've been trying to do recently, is to collect all stateless widgets (or those with minimal state) inside a static preview variable.
static PreviewModel get preview =>
PreviewModel(
description: "A Sparkline",
preview: (context, counterStream, animationStream, ticker) =>
Sparkline(
data: [0.0, 5.0, 1.5, 13],
),
);
counterStream
provides a counter stream for e.g. animating boolean values.
animationStream
provides an animation stream for generic animation.
ticker
access to a TickerProvider
That way I can collect previews of widgets manually and display them inside a list on a flutter desktop embedder from which I hope to get a better overview of all widgets as they grow in numbers.
I do believe that this could be greatly automated e.g. by adding annotations that the potential package could use to collect those previews automatically.
The way I handle navigation right now is by giving all widgets that are supposed to be navigated to a mixin that tells them how they can be opened. This 'open' method is called from 'navigation command' objects that can be called anywhere.
Combining the first approach with the second should be enough to gather enough data to create an ios-storyboard-ish view. I believe that bigger applications could benefit from such a view by providing a general view of the application.
.
My point is, that these two use cases could easily be implemented by providing a common set of tools. The productivity we currently enjoy through our IDEs is hard to replace but relatively easy to improve by providing additional, easily expandable tools.
IntelliJ's plugins are hard to write and thats why barely anyone takes the time to do that. VSCode has many more plugins for flutter and dart but I'd say IntelliJ is still the preferred platform for developing flutter apps. With a solid foundation one could then easily replace their current IDE with a mobile one once the technology catches up.
Hey! Just found this, and read through some things, and could you separate the live compilation code into a new repo, or explain the concept in detail for me to implement myself in a app?
If not that's fine, Ill probably understand it at some point
Hello everyone, I am getting a massive error here when trying to build on Chrome from MacOS.
Anyone managed to build on Mac? if yes, mind sharing a fork?
Launching lib/main.dart on Chrome in debug mode...
Waiting for connection from debug service on Chrome...
lib/ui/utils/global_draggable.dart:299:3: Error: Expected 0 type arguments.
MultiDragGestureRecognizer createRecognizer(GestureMultiDragStartCallback onStart) {
^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/ui/widgets/general/simple_2D_canvas.dart:419:9: Error: Type 'Overflow' not found.
final Overflow overflow;
^^^^^^^^
lib/ui/widgets/general/simple_2D_canvas.dart:464:5: Error: Type 'Overflow' not found.
Overflow overflow = Overflow.clip,
^^^^^^^^
lib/ui/widgets/general/simple_2D_canvas.dart:562:3: Error: Type 'Overflow' not found.
Overflow get overflow => _overflow;
^^^^^^^^
lib/ui/widgets/general/simple_2D_canvas.dart:563:3: Error: Type 'Overflow' not found.
Overflow _overflow;
^^^^^^^^
lib/ui/widgets/general/simple_2D_canvas.dart:564:16: Error: Type 'Overflow' not found.
set overflow(Overflow value) {
^^^^^^^^
lib/data/widget_elements/generated/final_widget_converter.dart:702:41: Error: Type 'OutlineButton' not found.
static void _parseOutlineButton(OutlineButton widget, WidgetBoard widgetBoard, String parentId, SlotData slotData) {
^^^^^^^^^^^^^
lib/data/widget_elements/generated/final_widget_converter.dart:716:40: Error: Type 'RaisedButton' not found.
static void _parseRaisedButton(RaisedButton widget, WidgetBoard widgetBoard, String parentId, SlotData slotData) {
^^^^^^^^^^^^
lib/ui/pages/workspace_page/workspace_page.dart:29:8: Error: The return type of the method 'MShortCutManager.handleKeypress' is 'bool', which does not match the return type, 'KeyEventResult', of the overridden method, 'ShortcutManager.handleKeypress'.
Do you have a version running on mac? I am expecting that
Did call run.bash
and got the following error message.
>> bin\dart bin\widget-maker.snapshot
Failed to init NativeSymbolResolver (SymInitialize 87)
flutter: Observatory listening on http://127.0.0.1:49683/
===== CRASH =====
version=2.1.0 (Tue Nov 13 18:22:02 2018 +0100) on "windows_x64"
ExceptionCode=-1073741819, ExceptionFlags=0, ExceptionAddress=00007FFA952CF4F6
Dumping native stack trace for thread 1ff0
Stack dump aborted because InitialRegisterCheck failed.
I'm on Windows 10 x64 bit with the C++ redist installed.
It will be nice to have a short video tutorial on it.
Nice work.
would you release installable for macos?
Hi!
I'm interested in perhaps forking your codebase or using it directly for a project - but it doesn't seem to have a license. Could you add one (e.g. MIT License) to the README so folks can safely fork?
Thanks!
So does this mean that when you change the source code of your app, the IDE needs also to be reloaded? Or how would this work?
2021-02-02 15:19:43.716 widget_maker_2_0[31171:16202128] Failed to find path for "flutter_assets"
2021-02-02 15:19:43.717 widget_maker_2_0[31171:16202128] Failed to find path for "flutter_assets"
embedder.cc (860): 'FlutterEngineInitialize' returned 'kInvalidArguments'. The assets path in the Flutter project arguments was missing.
2021-02-02 15:19:43.717 widget_maker_2_0[31171:16202128] Failed to initialize Flutter engine: error 2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.