TdTextButton.light constructor

const TdTextButton.light({
  1. Key? key,
  2. required VoidCallback onPressed,
  3. bool disabled = false,
  4. bool block = true,
  5. TdButtonSize size = TdButtonSize.large,
  6. TdButtonShape shape = TdButtonShape.rectangle,
  7. Widget? icon,
  8. required Widget child,
})

Implementation

const TdTextButton.light({
  super.key,
  required this.onPressed,
  this.disabled = false,
  this.block = true,
  this.size = TdButtonSize.large,
  this.shape = TdButtonShape.rectangle,
  this.icon,
  required this.child,
}) : type = TdButtonType.light;