SendButton constructor

const SendButton({
  1. dynamic key,
  2. required VoidCallback onPressed,
  3. EdgeInsets padding = EdgeInsets.zero,
})

Creates send button widget.

Implementation

const SendButton({
  key,
  required this.onPressed,
  this.padding = EdgeInsets.zero,
}): super(key: key);