TimelineBubble constructor
const
TimelineBubble({
- Key? key,
- required DirectionConfig direction,
- Color bubbleColor = Colors.blue,
- Color bgColor = Colors.white,
- Color stripColor = Colors.teal,
- Widget? icon,
- String? title,
- double size = 120,
- String? subtitle,
- String? description,
- TextStyle? titleStyle,
- TextStyle? subtitleStyle,
- TextStyle? descriptionStyle,
- double spaceBetweenItems = 20.0,
- Widget? titleWidget,
- Widget? subtitleWidget,
- Widget? descriptionWidget,
Constructor
Implementation
const TimelineBubble({
Key? key,
required this.direction,
this.bubbleColor = Colors.blue,
this.bgColor = Colors.white,
this.stripColor = Colors.teal,
this.icon,
this.title,
this.size = 120,
this.subtitle,
this.description,
this.titleStyle,
this.subtitleStyle,
this.descriptionStyle,
this.spaceBetweenItems = 20.0,
this.titleWidget,
this.subtitleWidget,
this.descriptionWidget,
}) : assert(direction == DirectionConfig.left ||
direction == DirectionConfig.right),
// assert(title != null || titleWidget != null),
super(key: key);