DartBlockHelpItem class

An explainer for a DartBlock feature.

Constructors

DartBlockHelpItem({required String id, required String title, required String shortDescription, required String body, required Widget builder(BuildContext context)?})

Properties

body String
The full body of the explainer.
final
builder Widget Function(BuildContext context)?
The widget to render the help item.
final
hashCode int
The hash code for this object.
no setterinherited
id String
A unique ID.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shortDescription String
A short description of the explainer, used as a preview.
final
title String
A short title for the explainer.
final

Methods

build(BuildContext context) Widget
How the explainer should be rendered.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getHelpItems() List<DartBlockHelpItem>
The default list of help items for the main concepts of DartBlock.