Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Dart have a widget library?

Looking into Dart a year later and I don't see any comprehensive widget library. I saw KevMoo's Widget.Dart project on GitHub but none of the widgets actually seem to work. I currently use AngularJS for my projects and have a great set of libraries such as Boostrap UI, and ng-grid which allow me to be productive without recreating the wheel. Anything like this in Dart?

like image 556
enantiomer2000 Avatar asked Apr 15 '14 17:04

enantiomer2000


People also ask

What are widgets in Dart?

Widgets are the central class hierarchy in the Flutter framework. A widget is an immutable description of part of a user interface. Widgets can be inflated into elements, which manage the underlying render tree. Widgets themselves have no mutable state (all their fields must be final).

How do I make a dart widget?

We can create the custom widget in a new dart file with all the codes and defining the parameters that we need in the constructor. Here we will be discussing an example of how to build a simple app by applying custom property to the widgets and making them separate from their own properties.

Is Flutter a widget everything?

In Flutter, everything is a widget. Widgets are just tiny chunks of UI that you can combine to make a complete app. Building an app Flutter is like building a lego set -- piece by piece. Widgets are nested inside of each other to build your app.

How many widgets are there in Flutter?

Types of Widgets: There are broadly two types of widgets in the flutter: Stateless Widget. Stateful Widget.


2 Answers

There are widget libraries but they are mostly work in progress.

for Angular2 Dart

  • angular2-material
  • ng2-strap

for Angular.dart 1.x

  • angular.dart.ui a Dart port of Angular UI Polymer
  • AngularPrime-Dart
  • Angular.dart.material

for Polymer.dart >= 1.0.0

  • polymer_elements Dart port of JS https://elements.polymer-project.org/

  • bwu_datagrid Dart port of JS SlickGrid

for Polymer.dart <= 0.16.x

  • core-elements
  • paper-elements
  • bwu_datagrid Dart port of JS SlickGrid
  • Pixelate
  • HtmlElements
  • Spark widgets

WebGL

  • RöckDöt for Dart

others

  • MDL (Material Design Lite)
  • DWT
  • Bootjack
  • Rikulo UI
  • Rikulo UXL

DEPRECATED

  • polymer_ui_elements Dart port of JS polymer-ui-elements
  • core_elements Dart port of JS core-elements (just started)

and probably others

like image 91
Günter Zöchbauer Avatar answered Nov 01 '22 06:11

Günter Zöchbauer


Another one worth mentioning: http://www.material-design-lite.pub

like image 40
Alon Amir Avatar answered Nov 01 '22 04:11

Alon Amir