Skip to content
On this page

InlineTags

Inline mention and tag presentation for text input.

InlineTags in FluttyUIInlineTags in FluttyUI dark theme

Import

import 'package:flutter/widgets.dart';
import 'package:fluttyui/fluttyui.dart' as ui;

API Reference

The declarations below match the current FluttyUI source. Types are shown without the optional ui. import prefix.

InlineTags

const InlineTags({
  super.key,
  required this.controller,
  required this.focusNode,
  required this.options,
  required this.child,
  this.onSelected,
  this.maxMenuHeight = 260,
  this.maxSuggestions = 8,
});
ParameterTypeRequiredDefault
keyKey?Nonull
controllerInlineTagControllerYes—
focusNodeFocusNodeYes—
optionsList<InlineTag>Yes—
childWidgetYes—
onSelectedValueChanged<InlineTag>?Nonull
maxMenuHeightdoubleNo260
maxSuggestionsintNo8

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/messaging/inline_tags/inline_tags.dart

This reference is generated from the InlineTags declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

DartFlutter

Get started with FluttyUI