show static method
dynamic
show(
- BuildContext context,
- List<
Say> sayList, { - VoidCallback? onFinish,
- VoidCallback? onClose,
- ValueChanged<
int> ? onChangeTalk, - Color? backgroundColor,
- double boxTextHeight = 100,
- List<
LogicalKeyboardKey> logicalKeyboardKeysToNext = const [], - EdgeInsetsGeometry? padding,
- bool dismissible = false,
- Alignment talkAlignment = Alignment.bottomCenter,
- TextStyle? style,
- int speed = 50,
Implementation
static show(
BuildContext context,
List<Say> sayList, {
VoidCallback? onFinish,
VoidCallback? onClose,
ValueChanged<int>? onChangeTalk,
Color? backgroundColor,
double boxTextHeight = 100,
List<LogicalKeyboardKey> logicalKeyboardKeysToNext = const [],
EdgeInsetsGeometry? padding,
bool dismissible = false,
Alignment talkAlignment = Alignment.bottomCenter,
TextStyle? style,
int speed = 50,
}) {
showDialog(
barrierDismissible: dismissible,
barrierColor: backgroundColor,
context: context,
builder: (BuildContext context) {
return TalkDialog(
says: sayList,
onFinish: onFinish,
onClose: onClose,
onChangeTalk: onChangeTalk,
textBoxMinHeight: boxTextHeight,
keyboardKeysToNext: logicalKeyboardKeysToNext,
padding: padding,
dismissible: dismissible,
talkAlignment: talkAlignment,
style: style,
speed: speed,
);
},
);
}