rad library Null safety

Rad's Main library.

This library contain general widgets and functions.

Classes

AppRunner
App Runner.
AsyncRoute
Navigator's AsyncRoute.
BuildContext
A handle to the location of a widget in the widget tree.
DebugOptions
App debug options.
EmittedEvent
A wrapper for native-events.
EventDetector
A widget for detecting dom events on a widget or part of tree.
GestureDetector
A widget that detects gestures.
GlobalKey
A key that is unique within a single app instance.
InheritedWidget
Base class for widgets that efficiently propagate information down the tree.
Key
A Key is an identifier for Widgets.
ListView
Creates a scrollable, linear array of widgets from an explicit List.
LocalKey
A key that is unique within a single app instance.
Navigator widget.
State that each navigator creates and manage.
RadApp
A Simple App Widget that takes as much space as its parents allowed it to.
RawMarkUp
A widget that helps pushing raw contents to the DOM.
Route
Navigator's Route.
RouterOptions
Router options.
State<T extends StatefulWidget>
The logic and internal state for a StatefulWidget.
StatefulWidget
A widget that has mutable state.
StatelessWidget
A widget that does not require mutable state.
Text
A utility widget to print text on screen.
Widget
Describes the configuration for an RenderObject.

Functions

runApp({required Widget app, required String targetId, Callback? beforeMount, RouterOptions? routerOptions, DebugOptions? debugOptions}) AppRunner
Convenience function that spin a AppRunner.

Enums

Axis
The two cardinal directions in two dimensions.
ButtonType
Type of Button.
DomEventType
DomTagType
Widget's corresponding DOM tag.
FormEncType
FormMethodType
HitTestBehavior
Defines GestureDetector behaviour.
InputType
LayoutType
Type of layout.
SchedulerEventType
SchedulerTaskType
UpdateType
Type of update event that's happend in parent tree.
WidgetAction
WidgetUpdateType

Typedefs

AsyncOrSyncWidgetBuilder = FutureOr<Widget> Function()
Callback = void Function()
ContextualWidgetBuilder = Widget Function(BuildContext context)
EventCallback = void Function(EmittedEvent event)
ExceptionCallback = void Function(Exception event)
IndexedWidgetBuilder = Widget Function(BuildContext context, int index)
PopStateEventCallback = void Function(PopStateEvent event)
SchedulerTaskCallback = void Function(SchedulerTask task)
VoidCallback = Callback
WidgetActionsBuilder = List<WidgetAction> Function(WidgetObject widgetObject)