Skip to content

Commit 29b50b6

Browse files
authored
Add diagram for new Split curve (#239)
PR introducing curve: flutter/flutter#143130
1 parent 3e8e80f commit 29b50b6

File tree

2 files changed

+1
-0
lines changed

2 files changed

+1
-0
lines changed

assets/animation/curve_split.mp4

96.6 KB
Binary file not shown.

packages/diagrams/lib/src/curve.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,6 +584,7 @@ class CurveDiagramStep extends DiagramStep {
584584
name: 'interval',
585585
caption: 'Interval(0.25, 0.75)',
586586
curve: Interval(0.25, 0.75)),
587+
const CurveDiagram(name: 'split', caption: 'Split(0.5)', curve: Split(0.5)),
587588
const CurveDiagram(
588589
name: 'linear', caption: 'Curves.linear', curve: Curves.linear),
589590
const CurveDiagram(

0 commit comments

Comments
 (0)