Button constructor

const Button({
  1. Key? key,
  2. bool disabled = false,
  3. String type = 'primary',
  4. required String title,
})

Implementation

const Button({
  Key? key,
  this.disabled = false,
  this.type = 'primary',
  required this.title,
}) : super(key: key);