Button constructor

const Button({
  1. Key? key,
  2. String type = "primary",
})

Implementation

const Button({
  super.key,
  this.type = "primary",
});