DartBoard class
The Dart Board Kernel
It implements DartBoardCore from the interface and handles the entry point to your app.
It'll enable support/integration of features
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- DartBoard
Constructors
-
DartBoard({Key? key, required List<
DartBoardFeature> features, WidgetBuilder pageNotFoundWidgetBuilder = _pageNoteFound, required String initialPath, Map<String, String?> ? featureOverrides, Map<String, String> pageDecorationDenyList = const {}, Route routeBuilder(RouteSettings settings, WidgetBuilder builder)? = null, bool debugShowCheckedModeBanner = false, bool debugShowMaterialGrid = false, bool showSemanticDebugger = false, bool checkberboardOffscreenLayers = false, ThemeData? theme, ThemeData? darkTheme, ThemeMode? themeMode})
Properties
- checkberboardOffscreenLayers → bool
-
final
- darkTheme → ThemeData?
-
final
- debugShowCheckedModeBanner → bool
-
final
- debugShowMaterialGrid → bool
-
final
-
featureOverrides
→ Map<
String, String?> ? -
final
-
features
→ List<
DartBoardFeature> -
A list of features and their configuration's
e.g.
FeatureA(config), FeatureB(config)
final - hashCode → int
-
The hash code for this object.
no setterinherited
- initialPath → String
-
The initial route, where you want your app entry point to be
doesn't have to be "/", can be any registered route.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
pageDecorationDenyList
→ Map<
String, String> -
Deny List in the format of
final
- pageNotFoundWidgetBuilder → WidgetBuilder
-
pageNotFound widget builder is essentially the
404
builder Not required, but if you expect 404's maybe you want to implement this.final - routeBuilder → Route Function(RouteSettings settings, WidgetBuilder builder)?
-
The "Route" builder. This is an over-ride for how page routing
is handled internally
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showSemanticDebugger → bool
-
final
- theme → ThemeData?
-
final
- themeMode → ThemeMode?
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → _DartBoardState -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited