INNER CODE UNIT · Dart

Timeline

softmarshmallow/flutter-timeline · lib/timeline.dart:8

class Timeline extends StatelessWidget {
  const Timeline(
      {required this.events,
      this.isLeftAligned = true,
      this.padding = const EdgeInsets.all(8),
      this.controller,
      this.physics,
      this.shrinkWrap = true,
      this.primary = false,
      this.reverse = false,
      this.indicatorSize = 12.0,
      // item gap will be ignored when custom separatorBuilder is provided
      this.separatorBuilder,
      this.altOffset = const Offset(0, 0),
      this.anchor = IndicatorPosition.center})
      : itemCount = events.length;

  final Offset altOffset;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…