Skip to content

Commit 1c71375

Browse files
committed
fix example
1 parent 08a3e21 commit 1c71375

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ TextScramble(
1616
text: 'Hello World!',
1717
speed: Duration(milliseconds: 30),
1818
chars: '!<>-_\\/[]{}—=+*^?#________',
19-
correctCharProbability = 0.1, // Correct character probability in [0, 1]
20-
scrambleCycles = 4, // Number of times to scramble the text
19+
correctCharProbability: 0.1, // Correct character probability in [0, 1]
20+
scrambleCycles: 4, // Number of times to scramble the text
2121
style: TextStyle(
2222
fontSize: 40,
2323
color: Colors.black,

example/lib/main.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ class MainApp extends StatelessWidget {
1919
text: 'Hello World!',
2020
speed: Duration(milliseconds: 50),
2121
chars: '!<>-_\\/[]{}—=+*^?#________',
22-
correctCharProbability = 0.1, // Correct character probability in [0, 1]
23-
scrambleCycles = 4, // Number of times to scramble the text
22+
correctCharProbability:
23+
0.1, // Correct character probability in [0, 1]
24+
scrambleCycles: 4, // Number of times to scramble the text
2425
style: TextStyle(
2526
fontSize: 40,
2627
color: Colors.green,

example/pubspec.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,10 @@ packages:
188188
dependency: "direct main"
189189
description:
190190
name: use_scramble
191-
sha256: b129fad55335d449929899e82224c6ec8533e85745903dc7e1e4845cd4318731
191+
sha256: "23993cdeaca0739f9d6349dfd6c1e98564740d3444f5d2a4d7ab253a4b2d6f1b"
192192
url: "https://pub.dev"
193193
source: hosted
194-
version: "0.0.1"
194+
version: "0.0.4"
195195
vector_math:
196196
dependency: transitive
197197
description:

0 commit comments

Comments
 (0)