TimelineTheme constructor

const TimelineTheme({
  1. Key? key,
  2. required TimelineThemeData data,
  3. required Widget child,
})

Creates an timeline theme that controls the styles of descendant widgets. Both data and child arguments must not be null.

Implementation

const TimelineTheme({Key? key, required this.data, required this.child})
    : super(key: key, child: child);