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> - A widget that rebuilds its content by listening to a provided 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.
- A simple navigator widget.
-
Provider<
T extends Store> - Provides a list of Stores to the Context.
-
State<
T extends StatefulWidget> - The base class for the state of StatefulWidget.
- StatefulBuilder
-
A widget that rebuilds its content everytime
setStateis called. - StatefulWidget
- The base class for creating stateful widgets in Dawn.
- StatelessBuilder
- A widget that statelessly builds its content.
- 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.
Extensions
Typedefs
- EventListener = void Function(Event event)
- The recommended type to use for event listeners in Dawn.
- StateSetter = void Function(void callback())
- A type to declare state setter functions.