BulletedList class

Flutter widget that defines both unordered lists of Widgets and ordered lists of Strings of text with a default round bullet preceding each item.

Inheritance

Constructors

BulletedList({Key? key, required List listItems, TextStyle? style, Widget? bullet, ListOrder listOrder = ListOrder.unordered, Color bulletColor = Colors.blueGrey, CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center, BulletType bulletType = BulletType.conventional, Color numberColor = Colors.white, BoxShape boxShape = BoxShape.circle})
const

Properties

boxShape BoxShape
Optional. Specify shape of the default bullet. Circle is the default.
final
bullet Widget?
Optional. If this widget is not specified, a default dark circle is used.
final
bulletColor Color
Optional. Color for the default bullet. Ignored if bullet above is specified.
final
bulletType BulletType
Optional. Specify BulletType.numbered to generate a numbered list. Conventional is the default.
final
crossAxisAlignment CrossAxisAlignment
Optional. Cross axis alignment of the items list. Center is default.
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
listItems List
Required. listItems may be a list of Strings or a list of Widgets
final
listOrder ListOrder
Optional. Applicable only for String items. Ignored for Widget items.
final
numberColor Color
Optional. Specify text color for the number in numbered bullet.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style TextStyle?
Optional. Additional styling for a String item. Ignored for Widget items.
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
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}) 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