ButtonUI constructor

const ButtonUI({
  1. Key? key,
  2. required String title,
  3. required GestureTapCallback onClick,
  4. bool enabled = true,
  5. bool isLoading = false,
  6. double margin = 0.0,
})

Implementation

const ButtonUI({
  super.key,
  required this.title,
  required this.onClick,
  this.enabled = true,
  this.isLoading = false,
  this.margin = 0.0,
});