![]() ![]() CircleBorderĪ border that fits a circle within the available space. BoxShadowĪn interface for recording graphical operations. BoxPainterĪ stateful class that can paint a particular Decoration. BoxBorderīase class for box borders that can paint as rectangles, circles, or roundedĪn immutable description of how to paint a box. BorderRadiusGeometryīase class for BorderRadius that allows for text-direction aware resolution. BorderRadiusDirectionalĪn immutable set of radii for each corner of a rectangle, but with theĬorners specified in a manner dependent on the writing direction. BorderRadiusĪn immutable set of radii for each corner of a rectangle. BorderDirectionalĪ border of a box, comprised of four sides, the lateral sides of whichįlip over based on the reading direction. BorderĪ border of a box, comprised of four sides: top, right, bottom, left. BeveledRectangleBorderĪ rectangular border with flattened or "beveled" corners. AssetImageįetches an image from an AssetBundle, having determined the exact image to ![]() AssetBundleImageProviderĪ subclass of ImageProvider that knows about AssetBundles. Key for the image obtained by an AssetImage or ExactAssetImage. AlignmentGeometryīase class for Alignment that allows for text-direction aware AlignmentDirectionalĪn offset that's expressed as a fraction of a Size, but whose horizontalĬomponent is dependent on the writing direction. Use Decoration (and more concretely BoxDecoration) forĪ point within a rectangle.Use the TextPainter class for painting text.Images, interpolating between shadows, painting borders around boxes, etc. This library includes a variety of classes that wrap the FlutterĮngine's painting API for more specialized purposes, such as painting scaled To use, import package:flutter/painting.dart.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |