TextLink constructor

const TextLink({
  1. Key? key,
  2. required String text,
  3. VoidCallback? onPressed,
  4. bool enabled = true,
  5. EdgeInsetsGeometry padding = const EdgeInsets.only(top: 2, bottom: 8),
})

Implementation

const TextLink({
  super.key,
  required this.text,
  this.onPressed,
  this.enabled = true,
  this.padding = const EdgeInsets.only(top: 2, bottom: 8),
});