ChattyWidget constructor

ChattyWidget({
  1. required Widget child,
  2. BoxLocation chatBoxLocation = BoxLocation.Top,
  3. Duration duration = const Duration(seconds: 3),
  4. required String text,
  5. TextStyle? textStyle,
  6. Color? textBoxColor = const Color(0xFFFFFFFF),
  7. double chatBoxWidth = 200.0,
  8. double chatBoxTailSize = 5.0,
  9. double contentsPadding = 10.0,
  10. double chatBoxStrokeWidth = 0.0,
  11. Color chatBoxStrokeColor = const Color(0xFF000000),
  12. 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,
});