brace_display 0.0.2
brace_display: ^0.0.2 copied to clipboard
Display a brace alongside a widget.
A widget that draws a brace alongside another widget. Useful to group list items together.
Features #
Prerequisites #
None, just do a quick flutter pub get brace_display
and you're set.
Usage #
BraceDisplay(
header: Text("Items"),
direction: BraceDirection.left, // or BraceDirection.right. Defaults to left.
child: Column(
crossAxisAlignment: CrossAxisAlignment.start, // to justify the text close to the brace
children:[
Text("Item 1"),
Text("Item 2"),
Text("Item 3"),
]
),