rxdart
RxDart 是用於非同步程式設計的流行 ReactiveX API 實作,利用了原生 Dart Streams API。
Flutter 小部件的可視化編輯器
RxDart 是用於非同步程式設計的流行 ReactiveX API 實作,利用了原生 Dart Streams API。
React hooks 的 Flutter 實作。它新增了一種具備增強程式碼重用功能的小部件類型。
具意見性、自動化的 Dart 源碼格式化工具。提供 API 與指令列工具。
v1.1.0HSV(HSB)/HSL/RGB/Material 顏色選擇器,靈感來自所有優秀的設計,為您的精彩 Flutter 應用提供支援。
適用於 Flutter 的語法高亮小部件,支援多種語言和主題。
一個流暢的、基於建構器的程式庫,用於產生有效的 Dart 程式碼。
{"sdk":"flutter"}^2.0.1^2.0.1any^3.2.0^1.2.8any{"git":{"url":"https://github.com/Norbert515/file_system_explorer.git"}}{"git":{"url":"https://github.com/Norbert515/flutter_desktop_widgets2.git"}}^0.6.03.4.1^0.7.0{"git":{"url":"https://github.com/Norbert515/mustache.git"}}^0.1.2{"sdk":"flutter"}{"sdk":"flutter"}any以下為英文專案原文快照,最新內容請造訪 GitHub。
title
The project is currently not maintained by me and the code could probably use a bit of refactoring.
This README is still work in progress.
If anybody is interested in contributing/ forking/ using it as a base for another project - feel free!
title title
This is intended to be run using Flutter Desktop or Flutter web. For Desktop, simply switch to the master channel and run:
flutter run -d [windows|linux|macos]
A few words about the code architecture.
Widget-Elements play a central part in the Widget-Maker as these are actual widgets
you drag around and style.
The Widget-Elements can be found under lib/data/widget_elements.
Widget-Elements form a forth tree (on top of Widgets/RenderObjects and Elements) they include
a lot of meta information.
Widget-Elements only manage the tree, but not the actual rendering, interaction and modification
of the widgets, that is up to the widget which is generated by the generateWidget() method.
Those widgets have to mix in ElementWidgetStateMixin, that class contains code which handles common UX scenarios
like accepting children via drag, or showing a border on selection.
You certainly can make new Widget-Elements by hand, in fact Widget-Elements such as the Scaffold,
Row and more are hand made.
But a lot of widgets are pretty basic, so instead of copy-pasting the same wrapper code over and over again, there is a generator which does that for you.
Take a look at (lib/Data/widget_elements/config.yaml and README.md) to get a sense of the schema.
To generated those widget simply execute the lib/data/widget_elements/scripts/build.dart file.
Be sure to be inside the script folder when running that script because it relies on relative paths!
dart build.dart
The MProperty is the base class for all properties inside the Widget-Maker.
Each Widget-Element has a list of properties. These properties reflect the constructor parameters
of the widgets in code.
Properties are responsible for providing a way of changing themselves and providing meta information.
For more information take a look at lib/data/properties/basic_properties.dart
Not all tests seem to pass as of now.
flutter test
The docs folder contains the source for www.widgetmaker.dev
Feel free to donate a pizza/ coffee :)