link method

ButtonStyle link()

Implementation

ButtonStyle link() {
  return copyWith(
    foregroundColor: WidgetStateProperty.all(
      Color(0xFF007bff),
    ), // Bootstrap link blue
    backgroundColor: WidgetStateProperty.all(Colors.transparent),
    shape: WidgetStateProperty.all(
      RoundedRectangleBorder(borderRadius: BorderRadius.circular(4.0)),
    ),
    textStyle: WidgetStateProperty.all(
      TextStyle(decoration: TextDecoration.underline), // Underline effect
    ),
  );
}