design_widgets 0.1.0
design_widgets: ^0.1.0 copied to clipboard
Flutter widgets for design layers, with stacked fills, strokes and effects.
0.1.0 #
- Initial release.
DesignRectangle: a rectangle with a size, corner radius and smoothing, stacked fills, a stroke inside, centered on or outside its edge, and effects.DesignText: text in a font named by the names inside its file, with line height, letter spacing, alignment, auto width, auto height or fixed size, and vertical trim; the same fills, stroke and effects as a rectangle.- Fills: solid colors, and linear and radial gradients placed by handles.
- Effects: drop and inner shadows, and layer blurs, uniform or progressive from one handle to another.
- Appearance: layer opacity for rectangles and texts, and a rectangle's blend mode: pass through, normal or multiply.
DesignFonts: reads the app's fonts once, soFontName('Inter', 'Black')finds its file. A file that isn't a font is skipped, andproblemWithnames it when a font can't be found.package:design_widgets/rendering.dart: the render objects, plans and paints, for render objects of an app's own that must draw as these widgets do.
