INNER CODE UNIT · Dart

nextEvent

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

          nextEvent = _events[index + 1];
        }
        final isFirst = index == 0;
        final isLast = index == itemCount - 1;
        final timelineTile = <Widget>[
          if (event.hasIndicator)
            _buildIndicatorSection(
                isFirst: isFirst,
                isLast: isLast,
                prevHasIndicator: _eventHasIndicator(prevEvent),
                nextHasIndicator: _eventHasIndicator(nextEvent),
                event: event,
                theme: timelineTheme),
          if (event.hasIndicator) SizedBox(width: timelineTheme.gutterSpacing),
          Expanded(child: event.child),
        ];

        return IntrinsicHeight(

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…