Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion lib/bademagic_module/models/messages.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import 'package:badgemagic/bademagic_module/models/mode.dart';
import 'package:badgemagic/bademagic_module/models/speed.dart';
import 'package:flutter/src/painting/text_style.dart';

class Message {
final List<String> text;
Expand All @@ -15,7 +16,8 @@ class Message {
this.marquee = false,
this.speed = Speed.one,
this.mode = Mode.left,
this.animationIndex, // 👈 NEW
this.animationIndex,
TextStyle? fontStyle, // 👈 NEW
});

// Convert Message object to JSON
Expand Down
Loading
Loading