Skip to content

Latest commit

 

History

History
66 lines (55 loc) · 1.81 KB

CHANGELOG.md

File metadata and controls

66 lines (55 loc) · 1.81 KB

0.4.0-preview.1

First preview version of the rewrite for better performance and:

  • Header for tracks
  • custom icons and Huge thanks to @argorain and @ritheshSalyan

0.3.4

Fix

Enhancements

  • You can now provide your custom time widget (Request 3):
TimelineEditor(
  timeWidgetExtent: 100,
  timeWidgetBuilder: (d, t) => Padding(
            padding: const EdgeInsets.only(left: 8.0),
            child: Text(
              '${d.inSeconds}/${t.inSeconds}',
              overflow: TextOverflow.ellipsis,
            ),
          ),

0.3.2

  • Fix scroll will overflow sometimes

0.3.1

  • Added helper to go from seconds double to Duration:
Duration durationFromSeconds(double seconds)
double durationToSeconds(Duration duration)
  • Added possibility to customize timeline text theme and separator color:
class TimelineEditor extends StatefulWidget {
  ...
  /// Timeline time text theme. By default we use Theme.of(context).textTheme.bodyText1
  final TextTheme timelineTextStyle;

  /// Color used by the time separator in the timeline.
  /// By default we use Theme.of(context).brightness == Brightness.dark ? Colors.white60 : Colors.black87
  final Color separatorColor;
  ...
}

0.3.0

  • We now use duration instead of seconds (Issue 1)

0.2.2

  • better time indicators
  • height of track is not customizable

0.2.1

  • fix scaling

0.2.0

Performance optimization

  • position now takes a stream to rebuild as little as possible
  • layout builder replaced by a cached version to avoid rebuilding too often
  • you can now react to user clicking a time on the timeline ruler

0.1.0

  • First release