SendButton constructor

const SendButton({
  1. Key? key,
  2. required void onPressed(),
})

Creates send button widget

Implementation

const SendButton({
  Key? key,
  required this.onPressed,
}) : super(key: key);