Import
import 'package:flutter/widgets.dart';
import 'package:fluttyui/fluttyui.dart' as ui;Usage
const ui.Typo(
'Build something beautiful',
type: ui.TypoVariant.h2,
weight: ui.TypoWeight.semibold,
)API Reference
The declarations below match the current FluttyUI source. Types are shown without the optional ui. import prefix.
Typo
const Typo(
this.text, {
super.key,
this.type = TypoVariant.body,
this.align = TypoAlign.start,
this.color = TypoColor.defaultColor,
this.weight,
this.truncate = false,
});| Parameter | Type | Required | Default |
|---|---|---|---|
text | String | Yes | — |
key | Key? | No | null |
type | TypoVariant | No | TypoVariant.body |
align | TypoAlign | No | TypoAlign.start |
color | TypoColor | No | TypoColor.defaultColor |
weight | TypoWeight? | No | null |
truncate | 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/typography/typo/typo.dart
This reference is generated from the Typo declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

