flutter/flutter library

Classes

Accumulator
Mutable wrapper of an integer that can be passed by reference to track a value across a recursive stack.
AdsCarouselGeneralFrameworkWidget
UncompleteDocumentation
AdsContentAdsGeneralFramework
UncompleteDocumentation
AdsGeneralFrameworkControllers
UncompleteDocumentation
AlertGeneralFrameworkOptions
UncompleteDocumentation
AlertGeneralFrameworkWidget
UncompleteDocumentation
Alignment
A point within a rectangle.
AlignmentDirectional
An offset that's expressed as a fraction of a Size, but whose horizontal component is dependent on the writing direction.
AlignmentGeometry
Base class for Alignment that allows for text-direction aware resolution.
AppBarGeneralFrameworkWidget
UncompleteDocumentationu
AssetBundleImageKey
Key for the image obtained by an AssetImage or ExactAssetImage.
AssetBundleImageProvider
A subclass of ImageProvider that knows about AssetBundles.
AssetImage
Fetches an image from an AssetBundle, having determined the exact image to use based on the context.
AutomaticNotchedShape
A NotchedShape created from ShapeBorders.
BeveledRectangleBorder
A rectangular border with flattened or "beveled" corners.
BlockConfig
the basic block config interface
BlockquoteConfig
config class for Block quotes, tag: blockquote
BlockquoteNode
Tag: MarkdownTag.blockquote
Bone
A widget that represents a bone of the loading skeleton effect
BoneMock
A class that provides mock data for generating fake
BoneRenderObject
The render object of the BoneRenderObjectWidget
BoneRenderObjectWidget
A widget that paints a BoxDecoration into a canvas with ManualSkeletonizerGeneralFrameworkPaintingContext.
Border
A border of a box, comprised of four sides: top, right, bottom, left.
BorderDirectional
A border of a box, comprised of four sides, the lateral sides of which flip over based on the reading direction.
BorderRadius
An immutable set of radii for each corner of a rectangle.
BorderRadiusDirectional
An immutable set of radii for each corner of a rectangle, but with the corners specified in a manner dependent on the writing direction.
BorderRadiusGeometry
Base class for BorderRadius that allows for text-direction aware resolution.
BorderSide
A side of a border of a box.
BottomBarGeneralFrameworkWidget
UncompleteDocumentation
BoxBorder
Base class for box borders that can paint as rectangles, circles, or rounded rectangles.
BoxDecoration
An immutable description of how to paint a box.
BoxPainter
A stateful class that can paint a particular Decoration.
BoxShadow
A shadow cast by a box.
BrNode
Tag: MarkdownTag.br
ButtonContainerMaterialGeneralFrameworkWidget
UncompleteDocumentation
ButtonFlexibleDataGeneralFramework
UncompleteDocumentation
ButtonFlexibleGeneralFramework
UncompleteDocumentation
ButtonFlexibleGeneralFrameworkWidget
UncompleteDocumentation
ButtonGeneralFrameworkWidget
UncompleteDocumentation
Canvas
An interface for recording graphical operations.
CarouselGeneralFrameworkController
A controller for CarouselGeneralFrameworkView.
CarouselGeneralFrameworkScrollPhysics
Scroll physics used by a CarouselGeneralFrameworkView.
CarouselGeneralFrameworkView
A Material Design carousel widget.
ChatControllerGeneralFramework<T extends MessageGeneralFramework>
UncompleteDocumentation
ChatMessageGeneralFrameworkWidget
create chat message on main screen
ChatPageGeneralFramework
UncompleteDocumentation
CheckBoxConfig
config class for checkbox, tag: input
CircleBorder
A border that fits a circle within the available space.
CircularNotchedRectangle
A rectangle with a smooth circular notch.
ClipContext
Clip utilities used by PaintingContext.
CodeBlockNode
Tag: MarkdownTag.pre
CodeConfig
config class for code, tag: code
CodeNode
Tag: MarkdownTag.code the code textSpan
Color
An immutable color value in ARGB format.
ColorFilter
A description of a color filter to apply when drawing a shape or compositing a layer with a particular Paint. A color filter is a function that takes two colors, and outputs one color. When applied during compositing, it is independently applied to each pixel of the layer being drawn before the entire layer is merged with the destination.
ColorProperty
DiagnosticsProperty that has an Color as value.
ColorSwatch<T>
A color that has a small table of related colors called a "swatch".
ConcreteElementNode
the default concrete node for ElementNode
ContainerConfig
the container block config interface
ContentMediaPictureSimpleWithButtonGeneralFrameworkWidget
UncompleteDocumentation
ContinuousRectangleBorder
A rectangular border with smooth continuous transitions between the straight sides and the rounded corners.
CrossFadeStateController
UncompleteDocumentation
Decoration
A description of a box decoration (a decoration applied to a Rect).
DecorationImage
An image for a box decoration.
DecorationImagePainter
The painter for a DecorationImage.
DelNode
Tag: MarkdownTag.del
DialogGeneralFramework
UncompleteDocumentation
EdgeInsets
An immutable set of offsets in each of the four cardinal directions.
EdgeInsetsDirectional
An immutable set of offsets in each of the four cardinal directions, but whose horizontal components are dependent on the writing direction.
EdgeInsetsGeometry
Base class for EdgeInsets that allows for text-direction aware resolution.
ElementNode
this node will accept other MarkdownSpanNodeGeneralFrameworkWidget as children
EmNode
Tag: MarkdownTag.em
ExactAssetImage
Fetches an image from an AssetBundle, associating it with the given scale.
FaqGeneralFrameworkData
UncompleteDocumentation
FaqGeneralFrameworkOptions
UncompleteDocumentation
FaqGeneralFrameworkSubData
UncompleteDocumentation
FaqGeneralFrameworkWidget
UncompleteDocumentation
FaqsGeneralFrameworkPage
UncompleteDocumentation
FileImage
Decodes the given File object as an image, associating it with the given scale.
FittedSizes
The pair of sizes returned by applyBoxFit.
FlutterLogoDecoration
An immutable description of how to paint Flutter's logo.
FontFeature
A feature tag and value that affect the selection of glyphs in a font.
FontVariation
An axis tag and value that can be used to customize variable fonts.
FontWeight
The thickness of the glyphs used to draw the text.
FractionalOffset
An offset that's expressed as a fraction of a Size.
GeneralFrameworkClientFlutter<T extends GeneralFrameworkClient<GeneralFrameworkClientEnsureInitialized, GeneralFrameworkClientInvokeOptions, GeneralFrameworkClientInvokeOptions, GeneralFrameworkDatabase<GeneralFrameworkDatabaseEnsureInitialized>, GeneralFrameworkApiBase<GeneralFrameworkApiEnsureInitialized, GeneralFrameworkDatabase<GeneralFrameworkDatabaseEnsureInitialized>, dynamic>>>
UncompleteDocumentation
GeneralFrameworkClientFlutterAppDirectory
UncompleteDocumentation
GeneralFrameworkClientFlutterAppStatefulWidget<T extends GeneralFrameworkClientFlutter<GeneralFrameworkClient<GeneralFrameworkClientEnsureInitialized, GeneralFrameworkClientInvokeOptions, GeneralFrameworkClientInvokeOptions, GeneralFrameworkDatabase<GeneralFrameworkDatabaseEnsureInitialized>, GeneralFrameworkApiBase<GeneralFrameworkApiEnsureInitialized, GeneralFrameworkDatabase<GeneralFrameworkDatabaseEnsureInitialized>, dynamic>>>>
UncompleteDocumentation
GeneralFrameworkClientFlutterAppStatelessWidget<T extends GeneralFrameworkClientFlutter<GeneralFrameworkClient<GeneralFrameworkClientEnsureInitialized, GeneralFrameworkClientInvokeOptions, GeneralFrameworkClientInvokeOptions, GeneralFrameworkDatabase<GeneralFrameworkDatabaseEnsureInitialized>, GeneralFrameworkApiBase<GeneralFrameworkApiEnsureInitialized, GeneralFrameworkDatabase<GeneralFrameworkDatabaseEnsureInitialized>, dynamic>>>>
UncompleteDocumentation
GeneralFrameworkClientFlutterCore
UncompleteDocumentation
GlyphInfo
The measurements of a character (or a sequence of visually connected characters) within a paragraph.
Gradient
A 2D gradient.
GradientRotation
A GradientTransform that rotates the gradient around the center-point of its bounding box.
GradientTransform
Base class for transforming gradient shaders without applying the same transform to the entire canvas.
H1Config
config class for h1
H2Config
config class for h2
H3Config
config class for h3
H4Config
config class for h4
H5Config
config class for h5
H6Config
config class for h6
HeadingConfig
config class for heading
HeadingDivider
only support h1 and h2
HeadingNode
Tag: MarkdownTag.h1 ~ MarkdownTag.h6
HorizontalRulesConfig
config class for HorizontalRulesNode
HorizontalRulesNode
Tag: MarkdownTag.hr
HSLColor
A color represented using alpha, hue, saturation, and lightness.
HSVColor
A color represented using alpha, hue, saturation, and value.
ImageCache
Class for caching images.
ImageCacheStatus
Information about how the ImageCache is tracking an image.
ImageChunkEvent
An immutable notification of image bytes that have been incrementally loaded.
ImageConfiguration
Configuration information passed to the ImageProvider.resolve method to select a specific image.
ImageInfo
A dart:ui.Image object with its corresponding scale.
ImageNode
Tag: MarkdownTag.img
ImageProvider<T extends Object>
Identifies an image without committing to the precise final asset. This allows a set of images to be identified and for the precise image to later be resolved based on the environment, e.g. the device pixel ratio.
ImageShader
A shader (as used by Paint.shader) that tiles an image.
ImageSizeInfo
Tracks the bytes used by a dart:ui.Image compared to the bytes needed to paint that image without scaling it.
ImageStream
A handle to an image resource.
ImageStreamCompleter
Base class for those that manage the loading of dart:ui.Image objects for ImageStreams.
ImageStreamCompleterHandle
An opaque handle that keeps an ImageStreamCompleter alive even if it has lost its last listener.
ImageStreamListener
Interface for receiving notifications about the loading of an image.
ImageViewer
show image with InteractiveViewer
ImgConfig
config class for image, tag: img
InlineConfig
the inline widget config interface
InlineSpan
An immutable span of inline content which forms part of a paragraph.
InlineSpanSemanticsInformation
The textual and semantic label information for an InlineSpan.
InputNode
Tag: MarkdownTag.input
LanguageGeneralFramework
UncompleteDocumentation
LanguageGeneralFrameworkController
UncompleteDocumentation
LanguageGeneralFrameworkOptions
UncompleteDocumentation
LanguageGeneralFrameworkState
UncompleteDocumentation
LeafConfig
the leaf block config interface
LicenseAuthorGeneralFrameworkWidget
UncompleteDocumentation
LicenseDetailData
This is a collection of licenses and the packages to which they apply. packageLicenseBindings records the m+:n+ relationship between the license and packages as a map of package names to license indexes.
LicenseGeneralFrameworkPage
The amount of vertical space to separate chunks of text. A page that shows licenses for software used by the application.
LinearBorder
An OutlinedBorder like BoxBorder that allows one to define a rectangular (box) border in terms of zero to four LinearBorderEdges, each of which is rendered as a single line.
LinearBorderEdge
Defines the relative size and alignment of one LinearBorder edge.
LinearGradient
A 2D linear gradient.
LineMetrics
LineMetrics stores the measurements and statistics of a single line in the paragraph.
LinkConfig
config class for link, tag: a
LinkNode
Tag: MarkdownTag.a
ListConfig
config class for list, tag: li
ListNode
Tag MarkdownTag.li
Locale
An identifier used to select a user's language and formatting preferences.
MarkdownBlockGeneralFrameworkWidget
use MarkdownBlockGeneralFrameworkWidget to build markdown by Column it does not support scrolling by default, but it will adapt to the width automatically.
MarkdownConfigGeneralFramework
use MarkdownConfigGeneralFramework to set various configurations for MarkdownGeneralFrameworkWidget
MarkdownFlutterContentGeneralFramework
UncompleteDocumentation
MarkdownFlutterGeneralFrameworkWidget
UncompleteDocumentation
MarkdownFlutterPageGeneralFramework<T extends MarkdownFlutterPageStateGeneralFramework>
UncompleteDocumentation
MarkdownFlutterPageStateGeneralFramework
UncompleteDocumentation
MarkdownGeneralFrameworkGenerator
use MarkdownGeneralFrameworkGenerator to transform markdown data to Widget list, so you can render it by any type of ListView
MarkdownGeneralFrameworkWidget
UncompleteDocumentation
MarkdownGeneralFrameworkWidgetState
UncompleteDocumentation
MarkdownProxyRichTextGeneralFrameworkWidget
use MarkdownProxyRichTextGeneralFrameworkWidget to give textScaleFactor a default value
MarkdownSpanNodeGeneralFrameworkWidget
the basic node
MarkdownSpanNodeGeneralFrameworkWidgetGeneratorWithTag
use MarkdownSpanNodeGeneralFrameworkWidgetGeneratorWithTag that you can custom your own MarkdownSpanNodeGeneralFrameworkWidgetGenerator with tag
MarkdownWidgetConfig
UncompleteDocumentation
MaskFilter
A mask filter to apply to shapes as they are painted. A mask filter is a function that takes a bitmap of color pixels, and returns another bitmap of color pixels.
MasterDetailFlowWidget
A Master Detail Flow widget. Depending on screen width it builds either a lateral or nested navigation flow between a master view and a detail page. bloc pattern.
MasterDetailFlowWidgetProxy
Interface for interacting with the MasterDetailFlowWidget.
MasterDetailFlowWidgetState
UncompleteDocumentation
MasterDetailScaffoldWidget
UncompleteDocumentation
MasterDetailScaffoldWidgetState
UncompleteDocumentation
MaterialOutlineGeneralFrameworkBuilderGeneralWidget
UncompleteDocumentation
MaterialOutlineGeneralFrameworkButtonBuilderGeneralWidget
UncompleteDocumentation
MaterialOutlineGeneralFrameworkButtonGeneralWidget
UncompleteDocumentation
MatrixUtils
Utility functions for working with matrices.
MCheckBox
the check box widget
MediaQuerGeneralFrameworkWidget
UncompleteDocumentation
MemoryImage
Decodes the given Uint8List buffer as an image, associating it with the given scale.
UncompleteDocumentation
UncompleteDocumentation
UncompleteDocumentation
MessageGeneralFramework
UncompleteDocumentation
MultiFrameImageStreamCompleter
Manages the decoding and scheduling of image frames.
NetworkImage
Fetches the given URL from the network, associating it with the given scale.
NotchedShape
A shape with a notch in its outline.
Offset
An immutable 2D floating-point offset.
OneFrameImageStreamCompleter
Manages the loading of dart:ui.Image objects for static ImageStreams (those with only one frame).
OutlinedBorder
A ShapeBorder that draws an outline with the width and color specified by side.
OvalBorder
A border that fits an elliptical shape.
PackageLicenseLandscapeGeneralUiPage
UncompleteDocumentation
PackageLicenseLandscapeGeneralUiPageState
UncompleteDocumentation
PackageLicenseLandscapeGeneralUiPageTitle
UncompleteDocumentation
Paint
A description of the style to use when drawing on a Canvas.
PaintingEffect
An abstraction for skeleton painting effects consumed by the SkeletonizerGeneralFramework.animationController
ParagraphMarkdownConfig
config class for paragraphs, tag: p
ParagraphNode
Tag: MarkdownTag.p
Path
A complex, one-dimensional subset of a plane.
PlaceholderDimensions
Holds the Size and baseline required to represent the dimensions of a placeholder in text.
PlaceholderSpan
An immutable placeholder that is embedded inline within text.
PreConfig
config class for pre
ProfilePictureGeneralFrameworkWidget
UncompleteDocumentation
PulseEffect
Creates a painting effect where a two colors are lerped back nad forward based on animation value
RadialGradient
A 2D radial gradient.
Radius
A radius for either circular or elliptical shapes.
Rect
An immutable, 2D, axis-aligned, floating-point rectangle whose coordinates are relative to a given origin.
RefreshGeneralFrameworkWidget
RefreshGeneralFrameworkWidgetState
RenderIgnoredSkeleton
A Render object that paints nothing when skeletonizer is enabled
ResizeImage
Instructs Flutter to decode the image at the specified dimensions instead of at its native size.
ResizeImageKey
Key used internally by ResizeImage.
RoundedRectangleBorder
A rectangular border with rounded corners.
RoundedSuperellipseBorder
A rectangular border with rounded corners following the shape of an RSuperellipse.
RRect
An immutable rounded rectangle with the custom radii for all four corners.
RSTransform
A transform consisting of a translation, a rotation, and a uniform scale.
RSuperellipse
An immutable rounded superellipse.
Shader
Base class for objects such as Gradient and ImageShader which correspond to shaders as used by Paint.shader.
ShaderWarmUp
Interface for drawing an image to warm up Skia shader compilations.
Shadow
A single shadow.
ShapeBorder
Base class for shape outlines.
ShapeDecoration
An immutable description of how to paint an arbitrary shape.
ShimmerEffect
Builds a painting effect where a linear gradient is used to create a shimmer-like effect
Size
Holds a 2D floating-point size.
Skeleton
An interface for a skeleton annotation widget skeleton annotation widgets are used to configure or customize how the skeleton effect is applied to the child widget
SkeletonizerGeneralFramework
Paints a skeleton of the child widget
SkeletonizerGeneralFrameworkConfig
Provided the scoped SkeletonizerGeneralFrameworkConfigData to descended widgets
SkeletonizerGeneralFrameworkConfigData
Holds SkeletonizerGeneralFramework theme data
SkeletonizerGeneralFrameworkScope
Provides the skeletonizer activation information to the descent widgets
SkeletonizerGeneralFrameworkState
The state of SkeletonizerGeneralFramework widget
SliverSkeletonizerGeneralFramework
A SkeletonizerGeneralFramework widget that can be used in a CustomScrollView
SoldColorEffect
Creates a none-animated painting effect
StadiumBorder
A border that fits a stadium-shaped border (a box with semicircles on the ends) within the rectangle of the widget it is applied to.
StarBorder
A border that fits a star or polygon-shaped border within the rectangle of the widget it is applied to.
StoriesGeneralFrameworkController
A controller for StoriesGeneralFrameworkView.
StoriesGeneralFrameworkScrollPhysics
Scroll physics used by a StoriesGeneralFrameworkView.
StoriesGeneralFrameworkView
A Material Design carousel widget.
StoriesGeneralFrameworkWidget
UncompleteDocumentation
StrongNode
Tag: MarkdownTag.strong
StrutStyle
Defines the strut, which sets the minimum height a line can be relative to the baseline.
SweepGradient
A 2D sweep gradient.
TabbarGeneralFrameworkWidget
UncompleteDocumentation
TableConfig
UncompleteDocumentation
TableNode
UncompleteDocumentation
TBodyNode
UncompleteDocumentation
TdNode
UncompleteDocumentation
TextAlignVertical
The vertical alignment of text within an input box.
TextBoneBorderRadius
Holds border radius information for TextElement
TextBox
A rectangle enclosing a run of text.
TextDecoration
A linear decoration to draw near the text.
TextFormFieldGeneralFrameworkWidget
UncompleteDocumentation
TextHeightBehavior
Defines how to apply TextStyle.height over and under text.
TextNode
text node only displays text
TextPainter
An object that paints a TextSpan tree into a Canvas.
TextPosition
A position in a string of text.
TextRange
A range of characters in a string of text.
TextScaler
A class that describes how textual contents should be scaled for better readability.
TextSelection
A range of text that represents a selection.
TextSpan
An immutable span of text.
TextStyle
An immutable style describing how to format and paint text.
TextWithBorderGeneralFrameworkWidget
UncompleteDocumentation
THeadNode
UncompleteDocumentation
ThemeChangeGeneralFrameworkWidget
UncompleteDocumentation
ThNode
UncompleteDocumentation
Toc
config for toc
TocControllerGeneralFrameworkWidget
TocControllerGeneralFrameworkWidget combines TocWidget and MarkdownGeneralFrameworkWidget, you can use it to control the jump between the two, and each TocWidget corresponds to a MarkdownGeneralFrameworkWidget.
TocItemBuilderData
pass TocItemBuilderData to help build your own TocItemBuilder
TocWidget
UncompleteDocumentation
TransformProperty
Property which handles Matrix4 that represent transforms.
TrNode
UncompleteDocumentation
UlOrOLNode
Tag MarkdownTag.olMarkdownTag.ul
WidgetVisitor
use WidgetVisitor that can transform MarkdownNode to MarkdownSpanNodeGeneralFrameworkWidgets and you can use MarkdownSpanNodeGeneralFrameworkWidget with Text.rich or RichText to get widget
WordBoundary
A TextBoundary subclass for locating word breaks.

Enums

ActionLevelType
Describes which type of app bar the actions are intended for.
Axis
The two cardinal directions in two dimensions.
AxisDirection
A direction along either the horizontal or vertical Axis in which the origin, or zero position, is determined.
BlendMode
Algorithms to use when painting on the canvas.
BlurStyle
Styles to use for blurs in MaskFilter objects.
BoneButtonType
The type of button bone
BorderStyle
The style of line to draw for a BorderSide in a Border.
BoxFit
How a box should be inscribed into another box.
BoxShape
The shape to use when rendering a Border or BoxDecoration.
Clip
Different ways to clip content.
FilterQuality
Quality levels for image sampling in ImageFilter and Shader objects that sample images and for Canvas operations that render images.
FlutterLogoStyle
Possible ways to draw Flutter's logo.
FocusLicenseType
UncompleteDocumentation
FontStyle
Whether to use the italic type variation of glyphs in the font.
ImageRepeat
How to paint any portions of a box not covered by an image.
LanguageGeneralFrameworkType
UncompleteDocumentation
MarkdownTag
/ the tags of markdown, see https://spec.commonmark.org/0.30/
PaintingStyle
Strategies for painting shapes and paths on a canvas.
PathFillType
Determines the winding rule that decides how the interior of a Path is calculated.
PathOperation
Strategies for combining paths.
PlaceholderAlignment
Where to vertically align the placeholder relative to the surrounding text.
RenderComparison
The description of the difference between two objects, in the context of how it will affect the rendering.
ResizeImagePolicy
Configures the behavior for ResizeImage.
StoriesGeneralFrameworkWidgetStyle
UncompleteDocumentation
StrokeCap
Styles to use for line endings.
StrokeJoin
Styles to use for line segment joins.
TextAffinity
A way to disambiguate a TextPosition when its offset could match two different locations in the rendered string.
TextAlign
Whether and how to align text horizontally.
TextBaseline
A horizontal line used for aligning text.
TextDecorationStyle
The style in which to draw a text decoration
TextDirection
A direction in which text flows.
TextLeadingDistribution
How the "leading" is distributed over and under the text.
TextOverflow
How overflowing text should be handled.
TextWidthBasis
The different ways of measuring the width of one or more lines of text.
ThemeChangeGeneralFrameworkWidgetStyle
UncompleteDocumentation
TileMode
Defines what happens at the edge of a gradient or the sampling of a source image in an ImageFilter.
VertexMode
Defines how a list of points is interpreted when drawing a set of triangles.
VerticalDirection
A direction in which boxes flow vertically.
WebHtmlElementStrategy
The strategy for Image.network and NetworkImage to decide whether to display images in HTML elements contained in a platform view instead of fetching bytes.

Mixins

PaintingBinding
Binding for the painting library.

Constants

kDefaultFontSize → const double
The default font size if none is specified.
kTextHeightNone → const double
A TextStyle.height value that indicates the text span should take the height defined by the font, which may not be exactly the height of TextStyle.fontSize.

Properties

debugCaptureShaderWarmUpImage ShaderWarmUpImageCallback
Called by ShaderWarmUp.execute immediately after it creates an Image.
getter/setter pair
debugCaptureShaderWarmUpPicture ShaderWarmUpPictureCallback
Called by ShaderWarmUp.execute immediately after it creates a Picture.
getter/setter pair
debugDisableShadows bool
Whether to replace all shadows with solid color blocks.
getter/setter pair
debugImageOverheadAllowance int
The number of bytes an image must use before it triggers inversion when debugInvertOversizedImages is true.
getter/setter pair
debugInvertOversizedImages bool
If true, the framework will color invert and horizontally flip images that have been decoded to a size taking at least debugImageOverheadAllowance bytes more than necessary.
getter/setter pair
debugNetworkImageHttpClientProvider HttpClientProvider?
Provider from which NetworkImage will get its HttpClient in debug builds.
getter/setter pair
debugOnPaintImage PaintImageCallback?
If not null, called when the framework is about to paint an Image to a Canvas with an ImageSizeInfo that contains the decoded size of the image as well as its output size.
getter/setter pair
headingTag2Level Map<String, int>
every heading tag has a special level
final
imageCache ImageCache
The singleton that implements the Flutter framework's image cache.
no setter

Functions

applyBoxFit(BoxFit fit, Size inputSize, Size outputSize) FittedSizes
Apply a BoxFit value.
axisDirectionIsReversed(AxisDirection axisDirection) bool
Returns whether traveling along the given axis direction visits coordinates along that axis in numerically decreasing order.
axisDirectionToAxis(AxisDirection axisDirection) Axis
Returns the Axis that contains the given AxisDirection.
combineSemanticsInfo(List<InlineSpanSemanticsInformation> infoList) List<InlineSpanSemanticsInformation>
Combines _semanticsInfo entries where permissible.
convertHiNodes(List<Node> nodes, Map<String, TextStyle> theme, TextStyle? style, TextStyle? styleNotMatched) List<TextSpan>
UncompleteDocumentation
debugAssertAllPaintingVarsUnset(String reason, {bool debugDisableShadowsOverride = false}) bool
Returns true if none of the painting library debug variables have been changed.
debugDescribeTransform(Matrix4? transform) List<String>
Returns a list of strings representing the given transform in a format useful for TransformProperty.
debugFlushLastFrameImageSizeInfo() → void
Flushes inter-frame tracking of image size information from paintImage.
decodeImageFromList(Uint8List bytes) Future<Image>
Creates an image from a list of bytes.
decorationBuilderGeneralFrameworkWidgetDefault(BuildContext context, BoxDecoration decoration) Decoration
UncompleteDocumentation
flipAxis(Axis direction) Axis
Returns the opposite of the given Axis.
flipAxisDirection(AxisDirection axisDirection) AxisDirection
Returns the opposite of the given AxisDirection.
getDefaultMarker(bool isOrdered, int depth, Color? color, int index, double paddingTop, MarkdownConfigGeneralFramework config) Widget
get default marker for list
highLightSpans(String input, {String? language, bool autoDetectionLanguage = false, Map<String, TextStyle> theme = const {}, TextStyle? textStyle, TextStyle? styleNotMatched, int tabSize = 8}) List<InlineSpan>
transform code to highlight code
inputDecorationBuilderGeneralFrameworkWidgetDefault(BuildContext context, InputDecoration inputDecoration) InputDecoration
UncompleteDocumentation
lerpFontVariations(List<FontVariation>? a, List<FontVariation>? b, double t) List<FontVariation>?
Interpolate between two lists of FontVariation objects.
paintBorder(Canvas canvas, Rect rect, {BorderSide top = BorderSide.none, BorderSide right = BorderSide.none, BorderSide bottom = BorderSide.none, BorderSide left = BorderSide.none}) → void
Paints a border around the given rectangle on the canvas.
paintImage({required Canvas canvas, required Rect rect, required Image image, String? debugImageLabel, double scale = 1.0, double opacity = 1.0, ColorFilter? colorFilter, BoxFit? fit, Alignment alignment = Alignment.center, Rect? centerSlice, ImageRepeat repeat = ImageRepeat.noRepeat, bool flipHorizontally = false, bool invertColors = false, FilterQuality filterQuality = FilterQuality.medium, bool isAntiAlias = false, BlendMode blendMode = BlendMode.srcOver}) → void
Paints an image into the given rectangle on the canvas.
paintZigZag(Canvas canvas, Paint paint, Offset start, Offset end, int zigs, double width) → void
Draw a line between two points, which cuts diagonally back and forth across the line that connects the two points.
positionDependentBox({required Size size, required Size childSize, required Offset target, required bool preferBelow, double verticalOffset = 0.0, double margin = 10.0}) Offset
Position a child box within a container box, either above or below a target point.
shapeBorderBuilderGeneralFrameworkWidgetDefault(BuildContext context, RoundedRectangleBorder shapeBorder) ShapeBorder
UncompleteDocumentation
textDirectionToAxisDirection(TextDirection textDirection) AxisDirection
Returns the AxisDirection in which reading occurs in the given TextDirection.
textStyleBuilderGeneralFrameworkWidgetDefault(BuildContext context, TextStyle style) TextStyle
UncompleteDocumentation
widgetBuilderGeneralFrameworkWidgetDefault(BuildContext context, Widget child) Widget
UncompleteDocumentation
wrapByAutoScroll(int index, Widget child, AutoScrollController controller) Widget
wrap widget by AutoScrollTag that can use AutoScrollController to scrollToIndex

Typedefs

ActionBuilderWidget = List<Widget> Function(BuildContext context, ActionLevelType actionLevel)
Signature for the builder callback used by MasterDetailFlowWidget.actionBuilder.
AlertGeneralFrameworkButtonFunction<T> = T Function(BuildContext context, AlertGeneralFrameworkOptions alertGeneralFrameworkOptions)
UncompleteDocumentation
ButtonFlexibleGeneralFrameworkWidgetButton = void Function(BuildContext context, ButtonFlexibleDataGeneralFramework button)
UncompleteDocumentation
CheckBoxBuilder = Widget Function(bool checked)
define a function to return a checkbox widget
CodeBuilder = Widget Function(String code, String language)
UncompleteDocumentation
CodeWrapper = Widget Function(Widget child, String code, String language)
UncompleteDocumentation
DecoderBufferCallback = Future<Codec> Function(ImmutableBuffer buffer, {bool allowUpscaling, int? cacheHeight, int? cacheWidth})
Performs the decode process for use in ImageProvider.loadBuffer.
DecorationBuilderGeneralFrameworkWidget = Decoration Function(BuildContext context, BoxDecoration decoration)
DetailPageBuilderWidget = Widget Function(BuildContext context, Object? arguments, ScrollController? scrollController)
Signature for the builder callback used by MasterDetailFlowWidget.detailPageBuilder.
ErrorImgBuilder = Widget Function(String url, String alt, Object error)
UncompleteDocumentation
GeneralFrameworkClientFlutterFunction<T extends GeneralFrameworkClientFlutter<GeneralFrameworkClient<GeneralFrameworkClientEnsureInitialized, GeneralFrameworkClientInvokeOptions, GeneralFrameworkClientInvokeOptions, GeneralFrameworkDatabase<GeneralFrameworkDatabaseEnsureInitialized>, GeneralFrameworkApiBase<GeneralFrameworkApiEnsureInitialized, GeneralFrameworkDatabase<GeneralFrameworkDatabaseEnsureInitialized>, dynamic>>>> = T Function()
UncompleteDocumentation
HttpClientProvider = HttpClient Function()
Signature for a method that returns an HttpClient.
ImageChunkListener = void Function(ImageChunkEvent event)
Signature for listening to ImageChunkEvent events.
ImageDecoderCallback = Future<Codec> Function(ImmutableBuffer buffer, {TargetImageSizeCallback? getTargetSize})
Performs the decode process for use in ImageProvider.loadImage.
ImageErrorListener = void Function(Object exception, StackTrace? stackTrace)
Signature for reporting errors when resolving images.
ImageListener = void Function(ImageInfo image, bool synchronousCall)
Signature for callbacks reporting that an image is available.
ImgBuilder = Widget Function(String url, Map<String, String> attributes)
UncompleteDocumentation
InlineSpanVisitor = bool Function(InlineSpan span)
Called on each span as InlineSpan.visitChildren walks the InlineSpan tree.
InputDecorationBuilderGeneralFrameworkWidget = InputDecoration Function(BuildContext context, InputDecoration inputDecoration)
LanguageGeneralFrameworkOnSelect = void Function(BuildContext context, LanguageCodeDataDetail languageCodeDataDetail)
UncompleteDocumentation
ListMarker = Widget? Function(bool isOrdered, int depth, int index)
the function to get marker widget
MarkdownFlutterAppBarActionsGeneralFrameworkFunction<T extends MarkdownFlutterPageStateGeneralFramework> = List<Widget> Function(BuildContext context, T markdownFlutterPageStateGeneralFramework)
UncompleteDocumentation
MarkdownFlutterContentGeneralFrameworkFunction<T extends MarkdownFlutterPageStateGeneralFramework> = FutureOr<MarkdownFlutterContentGeneralFramework> Function(BuildContext context, T markdownFlutterPageStateGeneralFramework)
UncompleteDocumentation
MarkdownFlutterOnUrlPressedGeneralFrameworkFunction<T extends MarkdownFlutterPageStateGeneralFramework> = void Function(BuildContext context, String url, T markdownFlutterPageStateGeneralFramework)
UncompleteDocumentation
MarkdownFlutterPopupMenuItemsGeneralFrameworkFunction<T extends MarkdownFlutterPageStateGeneralFramework> = List<PopupMenuEntry> Function(BuildContext context, T markdownFlutterPageStateGeneralFramework, TextStyle textStyle)
UncompleteDocumentation
MarkdownSpanNodeGeneralFrameworkWidgetAcceptCallback = void Function(MarkdownSpanNodeGeneralFrameworkWidget node, int nodeIndex)
when a SpanNope is visited, this callback will be triggered
MarkdownSpanNodeGeneralFrameworkWidgetBuilder = TextSpan Function(MarkdownSpanNodeGeneralFrameworkWidget spanNode)
UncompleteDocumentation
MarkdownSpanNodeGeneralFrameworkWidgetGenerator = MarkdownSpanNodeGeneralFrameworkWidget Function(Element e, MarkdownConfigGeneralFramework config, WidgetVisitor visitor)
use MarkdownSpanNodeGeneralFrameworkWidgetGenerator will return a MarkdownSpanNodeGeneralFrameworkWidget
MasterViewBuilderWidget = Widget Function(BuildContext context, bool isLandscapeUI)
Signature for the builder callback used by MasterDetailFlowWidget.
Painter = void Function(PaintingContext context, Offset offset)
/ A signature for a function that paints with a PaintingContext.
PaintImageCallback = void Function(ImageSizeInfo info)
Called when the framework is about to paint an Image to a Canvas with an ImageSizeInfo that contains the decoded size of the image as well as its output size.
RichTextBuilder = Widget Function(InlineSpan span)
UncompleteDocumentation
ShaderWarmUpImageCallback = bool Function(Image image)
The signature of debugCaptureShaderWarmUpImage.
ShaderWarmUpPictureCallback = bool Function(Picture picture)
The signature of debugCaptureShaderWarmUpPicture.
ShapeBorderBuilderGeneralFrameworkWidget = ShapeBorder Function(BuildContext context, RoundedRectangleBorder shapeBorder)
SkeletonizerGeneralFrameworkPainter = void Function(SkeletonizerGeneralFrameworkPaintingContext context, Rect paintBounds, Painter paint, TextDirection? textDirection)
A signature for a function that paints with a SkeletonizerGeneralFrameworkPaintingContext.
TextNodeGenerator = MarkdownSpanNodeGeneralFrameworkWidget? Function(Node node, MarkdownConfigGeneralFramework config, WidgetVisitor visitor)
use TextNodeGenerator to custom your own TextNode
TextStyleBuilderGeneralFrameworkWidget = TextStyle Function(BuildContext context, TextStyle style)
TocItemBuilder = Widget? Function(TocItemBuilderData data)
use TocItemBuilder to return a custom widget
ValueCallback<T> = void Function(T value)
UncompleteDocumentation
VoidCallback = void Function()
Signature of callbacks that have no arguments and return no data.
WidgetBuilderGeneralFrameworkWidget = Widget Function(BuildContext context, Widget child)
WidgetWrapper = Widget Function(Widget child)
wrap child by another widget

Exceptions / Errors

NetworkImageLoadException
The exception thrown when the HTTP request to load a network image fails.