TButton constructor

const TButton({
  1. Key? key,
  2. required String caption,
  3. VoidCallback? onClick,
  4. bool enabled = true,
  5. bool isDefault = false,
})

Implementation

const TButton({
  super.key,
  required this.caption,
  this.onClick,
  this.enabled = true,
  this.isDefault = false,
});