dawn library

Dawn is a Dart Web Framework that lets developers to develop UIs with a widget model similar to Flutter. Dawn applications are compiled to JavaScript and are painted using HTML and CSS.

Classes

Animation
Use this class to declare an animation for FrameworkWidget subclasses.
Audio
An implementation of <audio />.
ConsumerBuilder<T extends Store>
Container
A widget to wrap multiple widgets as children. An implementation of <div />.
Context
Contains a list of parent widgets in sequence.
Debouncer
A class to debounce heavy tasks like rebuilding Dawn widgets.
Easing
FrameworkWidget
The base class for Dawn framework widgets such as Text, Image, Container, etc.
Image
An implementation of <img />.
Input
An implementation of <input />.
MediaWidget
The base class for media widgets such as Video, Audio, etc.
Provider<T extends Store>
Route
Router
State<T extends StatefulWidget>
The base class for the state of StatefulWidget.
StatefulBuilder
StatefulWidget
The base class for creating stateful widgets in Dawn.
StatelessBuilder
StatelessWidget
The base class for creating stateless widgets in Dawn.
Store
A base class for storing data and subscribing to it.
Style
Use this class to declare styles for FrameworkWidget subclasses.
Text
A widget to display text in Dawn apps. An implementation of <span />.
Textbox
An implementation of <textarea />.
UserInputWidget
The base class for user input widgets such as Input, Textbox, etc.
Video
An implementation of <video />.
Widget
The base class for all Dawn widgets.

Mixins

Buildable
A mixin to implement build for StatelessWidget, State, etc.

Functions

runApp(Widget app) → void
Initializes a Dawn application.

Typedefs

EventListener = void Function(Event event)
The recommended type to use for event listeners in Dawn.
StateSetter = void Function(void callback())