FlutterCustomTimeline constructor
const
FlutterCustomTimeline({
- Key? key,
- required List<
StepperData> steppers, - LineStyle? lineStyle,
- TimelineTile timeLineBuilder(
- BuildContext context,
- int index
- IndicatorStyle? indicatorStyle,
- Color? backgroundColor,
- bool extendBodyBehindAppBar = true,
- double indicatorXY = 0.5,
- TimelineAlign alignment = TimelineAlign.center,
- double? lineXy,
- bool hasIndicator = true,
- LineStyle? afterLineStyle,
- bool isLast = false,
- bool isFirst = false,
- double? headerXy,
- Color? headerBackgroundColor,
- TextStyle? headerTitleStyle,
- TextStyle? headerSubTitleStyle,
- bool isHeaderNode = true,
- TextStyle? rightNodeSubtitleStyle,
- TextStyle? rightNodeTitleStyle,
- TextStyle? leftNodeTitleStyle,
- TextStyle? leftNodeSubtitleStyle,
Implementation
const FlutterCustomTimeline({
super.key,
required this.steppers,
this.lineStyle,
this.timeLineBuilder,
this.indicatorStyle,
this.backgroundColor,
this.extendBodyBehindAppBar = true,
this.indicatorXY = 0.5,
this.alignment = TimelineAlign.center,
this.lineXy,
this.hasIndicator = true,
this.afterLineStyle,
this.isLast = false,
this.isFirst = false,
this.headerXy,
this.headerBackgroundColor,
this.headerTitleStyle,
this.headerSubTitleStyle,
this.isHeaderNode = true,
this.rightNodeSubtitleStyle,
this.rightNodeTitleStyle,
this.leftNodeTitleStyle,
this.leftNodeSubtitleStyle,
});