feather_core_default library
Classes
- AnsiCode
- Standard ANSI escape code for customizing terminal text output.
- AnsiCodeType
- The type of code represented by AnsiCode.
- BlockMeta
- ComponentMeta
- FAppLogger
- FConsoleLogger
- FileMeta
- FileUtils
- FLogger
- LabeledEnum
- Logger
-
A basic Logger which wraps
stdioand applies various styles. - LogTheme
- A theme object which contains styles for all log message types.
- PageMeta
- Progress
- A class that can be used to display progress information to the user.
- ProgressAnimation
- An object which contains configuration for the animation of a Progress instance.
- ProgressOptions
- An object containing configuration for a Progress instance.
- WidgetCategory
- WidgetDetails
-
WidgetMeta<
T extends WidgetType, C extends WidgetCategory> - WidgetType
-
WidgetTypeConverter<
T extends LabeledEnum>
Enums
- BlockCategory
- BlockType
- ComponentCategory
- ComponentType
- ExitCode
- Level
- Indicates the desired logging level.
- PageCategory
- PageType
- Screens
- WidgetScope
Constants
- backgroundBlack → const AnsiCode
- backgroundBlue → const AnsiCode
-
backgroundColors
→ const List<
AnsiCode> - All of the AnsiCode values that represent AnsiCodeType.background.
- backgroundCyan → const AnsiCode
- backgroundDarkGray → const AnsiCode
- backgroundDefault → const AnsiCode
- backgroundGreen → const AnsiCode
- backgroundLightBlue → const AnsiCode
- backgroundLightCyan → const AnsiCode
- backgroundLightGray → const AnsiCode
- backgroundLightGreen → const AnsiCode
- backgroundLightMagenta → const AnsiCode
- backgroundLightRed → const AnsiCode
- backgroundLightYellow → const AnsiCode
- backgroundMagenta → const AnsiCode
- backgroundRed → const AnsiCode
- backgroundWhite → const AnsiCode
- backgroundYellow → const AnsiCode
- black → const AnsiCode
- blue → const AnsiCode
- cyan → const AnsiCode
- darkGray → const AnsiCode
- defaultForeground → const AnsiCode
-
foregroundColors
→ const List<
AnsiCode> - All of the AnsiCode values that represent AnsiCodeType.foreground.
- green → const AnsiCode
- lightBlue → const AnsiCode
- lightCyan → const AnsiCode
- lightGray → const AnsiCode
- lightGreen → const AnsiCode
- lightMagenta → const AnsiCode
- lightRed → const AnsiCode
- lightYellow → const AnsiCode
- magenta → const AnsiCode
- red → const AnsiCode
- resetAll → const AnsiCode
- resetBlink → const AnsiCode
- resetBold → const AnsiCode
- resetDim → const AnsiCode
- resetItalic → const AnsiCode
- resetReverse → const AnsiCode
- resetUnderlined → const AnsiCode
- styleBlink → const AnsiCode
- styleBold → const AnsiCode
- styleDim → const AnsiCode
- styleItalic → const AnsiCode
- styleReverse → const AnsiCode
-
styles
→ const List<
AnsiCode> - All of the AnsiCode values that represent AnsiCodeType.style.
- styleUnderlined → const AnsiCode
- white → const AnsiCode
- yellow → const AnsiCode
Properties
- ansiOutputEnabled → bool
-
Whether formatted ANSI output is enabled for
wrapWithand AnsiCode.wrap.no setter
Functions
-
link(
{required Uri uri, String? message}) → String -
Wraps
uriwith an escape sequence so it's recognized as a hyperlink. An optional message can be used in place of theuri. If nomessageis provided, the text content will be the fulluri. -
overrideAnsiOutput<
T> (bool enableAnsiOutput, T body()) → T -
Allows overriding ansiOutputEnabled to
enableAnsiOutputfor the code run withinbody.
Typedefs
Exceptions / Errors
- FException
- Base class for all Feather CLI errors
- InvalidDirectoryException