timeline_editor icon indicating copy to clipboard operation
timeline_editor copied to clipboard

Optionally sticky leading widgets on tracks

Open nipunasudha opened this issue 5 years ago • 4 comments

I have another suggestion of placing a leading sticky widget on each track & the timeline like this. The widgets can either be scrolled away with the tracks, or it can be sticky too.

timeline_leading_widget_idea

The width of the leading widgets must be provided (assert) to the TimelineEditor like this, if the user provides at least one leading widget.

TimelineEditor(
  leadingWidgetWidth: 100,
  stickyLeadingWidgets: true,
  timelineLeadingWidget: Text('I lead timeline'),
  trackBuilder: (track, pps, duration) => TimelineEditorTrack(
    leadingWidget: Text('I lead this track'),
  ),
);

nipunasudha avatar May 28 '20 10:05 nipunasudha

Good suggestion i will look into it. Thanks for the representation

neckaros avatar May 28 '20 19:05 neckaros

IMG_0089 Hi, how to make this effect?

JamesBondPc avatar Nov 10 '20 07:11 JamesBondPc

Hi! I love this plugin and since I need this feature as well, I'll implement it by myself if you don't mind. I'll prepare PR once I am done. Edit: oh, it's already in master. I somehow suspected that 0.3.4 was more up-to-date with development. Good job!

argorain avatar Dec 10 '20 10:12 argorain

Thanks both!! Sorry for having so little time since the pandemic to develop this plugin :( i published a first preview version here: https://pub.dev/packages/timeline_editor/versions/0.4.0-preview.1

neckaros avatar Dec 19 '20 22:12 neckaros