Skip to content

Commit 40c0627

Browse files
SaadArdatiBirjuVachhani
authored andcommitted
🔧 Update Pack V1 #7
1 parent 2841dfa commit 40c0627

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

example/lib/stories/text_animation.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ class _TextAnimationState extends State<TextAnimation> {
7575
symbolDistanceMultiplier: 2,
7676
staggerSoftness: 10,
7777
tapeStrategy: const ConsistentSymbolTapeStrategy(0, true),
78-
fixedTapeWidth: 18,
7978
// clipBehavior: Clip.none,
8079
)
8180
.animate(

lib/src/rolling_text_controller.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ class RollingTextController with ChangeNotifier {
135135
late final List<TextPainter> tapePainters = [];
136136

137137
/// A cached map of tape heights for each tape painter.
138-
late final Map<int, double> tapeHeights;
138+
late final Map<int, double> tapeHeights = {};
139139

140140
/// Multiplies the index by 2 to account for new-line \n characters.
141141
int _mapCharKitIndexToSelection(String charKit, int index) => index * 2;

0 commit comments

Comments
 (0)