ChevronIndicator.rightDown constructor
ChevronIndicator.rightDown({})
Uses a chevron to indicate the expansion state. The chevron is rotated when the ITreeNode state expands or collapses. The collapsed state is a chevron pointing towards the right. The expanded state is a chevron pointing downwards.
** See also: ChevronIndicator.upDown for an up-down oriented chevron
Implementation
factory ChevronIndicator.rightDown({
Key? key,
required ITreeNode tree,
Alignment alignment = Alignment.topRight,
EdgeInsets padding = EdgeInsets.zero,
Curve curve = Curves.linearToEaseOut,
Color? color,
IconData? icon,
}) =>
ChevronIndicator._(
key: key,
tree: tree,
tween: Tween(begin: 0, end: 0.25),
icon: icon ?? Icons.keyboard_arrow_right_rounded,
alignment: alignment,
padding: padding,
curve: curve,
color: color,
);