Import
import 'package:flutter/widgets.dart';
import 'package:fluttyui/fluttyui.dart' as ui;Usage
ui.LinkButton(
text: 'Learn more',
onPressed: () {},
underline: true,
)API Reference
The declarations below match the current FluttyUI source. Types are shown without the optional ui. import prefix.
LinkButton
const LinkButton({
super.key,
required this.text,
required this.onPressed,
this.color,
this.fontSize,
this.size,
this.fontWeight = FontWeight.w400,
this.underline = false,
this.isDisabled = false,
});| Parameter | Type | Required | Default |
|---|---|---|---|
key | Key? | No | null |
text | String | Yes | — |
onPressed | VoidCallback? | Yes | — |
color | Color? | No | null |
fontSize | double? | No | null |
size | ComponentSize? | No | null |
fontWeight | FontWeight | No | FontWeight.w400 |
underline | bool | No | false |
isDisabled | bool | No | false |
Application Setup
Place components under FluttyApp to provide theme, navigation, localization, and overlay defaults. Use theme tokens for shared appearance settings.
Source
lib/src/widgets/buttons/link_button/link_button.dart
This reference is generated from the LinkButton declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

