ChattyWidget constructor
ChattyWidget({
- required Widget child,
- BoxLocation chatBoxLocation = BoxLocation.Top,
- Duration duration = const Duration(seconds: 3),
- required String text,
- TextStyle? textStyle,
- Color? textBoxColor = const Color(0xFFFFFFFF),
- double chatBoxWidth = 200.0,
- double chatBoxTailSize = 5.0,
- double contentsPadding = 10.0,
- double chatBoxStrokeWidth = 0.0,
- Color chatBoxStrokeColor = const Color(0xFF000000),
- VoidCallback? onTap,
Implementation
ChattyWidget({
required this.child,
this.chatBoxLocation = BoxLocation.Top,
this.duration = const Duration(seconds: 3),
required this.text,
this.textStyle,
this.textBoxColor = const Color(0xFFFFFFFF),
this.chatBoxWidth = 200.0,
this.chatBoxTailSize = 5.0,
this.contentsPadding = 10.0,
this.chatBoxStrokeWidth = 0.0,
this.chatBoxStrokeColor = const Color(0xFF000000),
this.onTap,
});