radartui_test library

Classes

Action<T extends Intent>
ActionDispatcher
Actions
Align
Positions its child within itself according to alignment.
Alignment
A position within a rectangle, expressed as offsets from center.
AppBinding
AppLogger
AsyncSnapshot<T>
Immutable representation of the most recent interaction with an asynchronous computation.
BindingBase
Border
Describes a border made of box-drawing characters for each side.
BoxConstraints
Immutable layout constraints with min/max width and height.
BuildContext
Builder
Button
A pressable button widget that responds to keyboard input.
ButtonStyle
CallbackAction
Card
A material-design-inspired card with an optional background color, border, and padding.
Cell
Center
ChangeNotifier
A class that can be extended or mixed in that provides a change notification API.
Checkbox
A material-design checkbox that toggles between checked (✓) and unchecked states.
CircularProgressIndicator
Clipboard
Color
A terminal color using ANSI 16-color palette values (0–15).
Colors
Predefined Color constants following material naming conventions.
Column
A Flex that lays out children in a vertical line.
ComponentElement
Container
A convenience widget that combines common painting, positioning, and sizing.
DataCell
DataColumn
DataRow
DataTable
DefaultTabController
DefaultTextStyle
Dialog
A modal dialog with a title, message, and optional action buttons.
Divider
EdgeInsets
Immutable insets for each edge of a terminal rectangle.
Element
Expanded
ExpansionTile
ExpansionTileController
ExpansionTileParentData
Finder
Flex
Flexible
Focus
FocusManager
FocusNode
FocusScope
Form
FormField<T>
FormFieldState<T>
FormScope
FormState
FutureBuilder<T>
Widget that builds itself based on the latest snapshot of interaction with a Future.
GlobalKey
GridParentData
GridView<T>
Icon
Displays a single Unicode character (glyph) with optional color styling.
Icons
InheritedElement
InheritedWidget
Intent
Key
KeyboardBackend
KeyEvent
KeyFinder
KeyParser
LayoutBuilder
LayoutConstants
Layout-related constants used across the framework.
LinearProgressIndicator
ListView<T>
LocalKey
MediaQuery
MediaQueryData
ModalRoute<T>
MultiChildRenderObjectElement
MultiChildRenderObjectWidget
Offset
An immutable 2D integer offset with x and y coordinates.
OutputBuffer
Overlay
OverlayEntry
OverlayPortal
OverlayState
Padding
Insets its child by the given padding.
PageRoute<T>
ParentDataElement
ParentDataWidget<T extends ParentData>
Positioned
Radio<T>
RawKeyboard
RealTerminalBackend
RenderAlign
RenderButton
RenderCard
RenderCheckbox
RenderCircularProgressIndicator
RenderContainer
RenderDivider
RenderDropdownButton
RenderDropdownMenu
RenderExpansionTile
RenderFlex
RenderGridView
RenderLayoutBuilder
RenderLinearProgressIndicator
RenderMenuBar
RenderObjectElement
RenderObjectWidget
RenderPadding
RenderRadio
RenderRichText
RenderSizedBox
RenderSlider
RenderSparkline
RenderStack
RenderTabBar
RenderText
RenderTextField
RenderToggle
RenderVerticalDivider
RichText
Route<T>
RouteAware
RouteObserver<R extends Route>
RouteSettings
Row
A Flex that lays out children in a horizontal line.
ScrollController
ShortcutActionsHandler
ShortcutActivator
Shortcuts
SingleChildRenderObjectElement
SingleChildRenderObjectWidget
SingleChildScrollView
Size
An immutable 2D integer size with width and height.
SizedBox
Slider
Spacer
Sparkline
Stack
StackParentData
State<T extends StatefulWidget>
StatefulElement
StatefulWidget
StatelessElement
StatelessWidget
StatusBar
StreamBuilder<T>
Widget that builds itself based on the latest snapshot of interaction with a Stream.
Tab
TabBar
TabBarView
TabController
Terminal
TerminalBackend
TestBinding
TestKeyboard
TestOutputBuffer
TestTerminal
Text
A run of text with optional styling.
TextEditingController
TextField
A single-line or multi-line text input field.
TextFinder
TextFormField
TextSelection
TextSpan
TextStyle
Describes the style of terminal text — color, weight, slant, and decorations.
Theme
ThemeData
Toast
Toggle
TreeController
TreeView<T>
TypeFinder<T extends Widget>
UniqueKey
ValueKey<T>
VerticalDivider
Widget
WidgetTester

Properties

find Finder
getter/setter pair

Functions

charWidth(int codePoint) int
findByKey(Key key) Finder
findByType<T extends Widget>() Finder
findText(String text) Finder
showDialog<T>({required BuildContext context, required WidgetBuilder builder, bool barrierDismissible = true, Color? barrierColor, Alignment alignment = Alignment.center}) Future<T?>
stringWidth(String text) int
testWidgets(String description, Future<void> callback(WidgetTester tester)) → void

Typedefs

AsyncWidgetBuilder<T> = Widget Function(BuildContext context, AsyncSnapshot<T> snapshot)
Signature for strategies that build widgets based on asynchronous interaction.
FrameCallback = void Function(Duration timeStamp)
LayoutWidgetBuilder = Widget Function(BuildContext context, BoxConstraints constraints)
RouteBuilder = Widget Function(BuildContext context)
RoutePredicate = bool Function(Route route)
ShutdownCallback = void Function()
ValueChanged<T> = void Function(T value)
VoidCallback = void Function()
WidgetBuilder = Widget Function(BuildContext context)

Exceptions / Errors

RadartuiError
The base error type for RadarTUI framework exceptions.