SalemSpeech class
The core constructor for all visual novel speech.
Formating Format Character Format Effect Example asterisk (*) = bold = "this is bold" slash (/) = italics = "this is /italicized/" underscore (_) = underline = "this is underlined" Coloring {color:INSERTCOLOR} = "this makes the name {color:blue}bob blue" Color Map: https://pub.dev/documentation/simple_rich_text/latest/simple_rich_text/colorMap-constant.html
Constructors
- SalemSpeech({String? characterName, String? cN, String? characterText, String? cT, String? voice, String? mcImage, String? centerCharacterImage, String? leftCharacterImage, String? rightCharacterImage, String? cgImg, String? bgImage, dynamic nextScene, bool? hasAnimation = false, dynamic animationName, dynamic linearJump, bool? hasChoice = false, dynamic firstChoice, dynamic secondChoice, dynamic thirdChoice})
Properties
- animationName → dynamic
-
final
- bgImage → String?
-
final
- centerCharacterImage → String?
-
final
- cgImg → String?
-
final
- characterName → String?
-
'characterName' defines the name for all characters
final
- characterText → String?
-
'characterText' defines the written text which the character says.
final
- cN → String?
-
final
- cT → String?
-
final
- firstChoice → dynamic
-
final
- hasAnimation → bool?
-
final
- hasChoice → bool?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- leftCharacterImage → String?
-
final
- linearJump → dynamic
-
final
- mcImage → String?
-
'mcImage' defines the file name of the MC, which you defined in the assets.
This Image is ALWAYS in the bottom right corner and only visible on Desktop
or mobile if you defined it so, by setting the phone orientation.
final
- nextScene → dynamic
-
final
- rightCharacterImage → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondChoice → dynamic
-
final
- thirdChoice → dynamic
-
final
- voice → String?
-
'voice' defines the file name of the spoken audio, which you defined in the assets.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited