core library
This library provides Dawn's core functionalities.
Classes
-
AsyncSnapshot<
T> - An immutable representation of the most recent interaction with an asynchronous computation.
- BuildContext
- The location of a specific Widget in the Node tree.
- Debouncer
-
Debounces multiple tasks by running only the last one using JavaScript's
requestAnimationFrameAPI. - Store
- A store that can notify its listeners when setState is called.
- Style
- Describes how a PaintedWidget should look on the screens.
Enums
- ConnectionState
- The connection state of an AsyncSnapshot.
Mixins
- Buildable
- Adds the build function to classes such as StatelessWidget and State.
Extensions
- CaseTransformableString on String
- Adds some utilities to transform strings.
Functions
Typedefs
-
AsyncWidgetBuilder<
T> = Widget Function(BuildContext context, AsyncSnapshot< T> snapshot) - The type of the builder function used in async builders such as StreamBuilder and FutureBuilder.