Skip to content

Commit dcc6d30

Browse files
committed
Fix callback functions
1 parent 29b6274 commit dcc6d30

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

example/lib/main.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@ class _MyStoryBookAppState extends State<MyStoryBookApp> {
5353
layoutID: "0R0PYsM6kNpkBMr93LS7",
5454
data: licenseData,
5555
functions: {
56-
'onFreeSelected': CodelesslyFunction((ref) {
56+
'onFreeSelected': CodelesslyFunction((context, ref) {
5757
licenseData['license'] = 'FREE';
5858
setState(() {});
5959
}),
60-
'onProSelected': CodelesslyFunction((ref) {
60+
'onProSelected': CodelesslyFunction((context, ref) {
6161
licenseData['license'] = 'PRO';
6262
setState(() {});
6363
}),
64-
'onBusinessSelected': CodelesslyFunction((ref) {
64+
'onBusinessSelected': CodelesslyFunction((context, ref) {
6565
licenseData['license'] = 'BUSINESS';
6666
setState(() {});
6767
}),

0 commit comments

Comments
 (0)