meld_flutter 1.0.1 copy "meld_flutter: ^1.0.1" to clipboard
meld_flutter: ^1.0.1 copied to clipboard

Native Flutter widget, controller and painter for Meld vector morphs.

meld_flutter #

pub package CI MIT license

Native Flutter rendering for Meld. MeldIcon paints normalized geometry through a precise CustomPainter repaint boundary, while MeldIconController provides interruptible spring motion, scrubbing, pause/resume, reverse playback, and sequences.

Install #

dependencies:
  meld_flutter: ^1.0.0
import 'package:meld_flutter/meld_flutter.dart';

const from = PathDataSource('M3 6H21M3 12H21M3 18H21');
const to = PathDataSource('M5 5L19 19M19 5L5 19');
final controller = MeldIconController(initialSource: from);

// Put the controller in a MeldIcon, then call:
await controller.morphTo(to, preset: SpringPreset.snappy);
// In-flight motion reverses in place; settled endpoints play from the other side.
await controller.reverse();

The widget supports declarative, controlled-progress, and command-driven modes; MeldIconTheme supplies shared paint tokens; MeldPaintStyle supports explicit outlines, source-faithful original rendering, and combined fill-plus-outline rendering; and MeldMotionMode.user follows Flutter reduced-motion settings. Add a label for semantics or set excludeFromSemantics for decorative icons.

1
likes
140
points
128
downloads

Documentation

API reference

Publisher

verified publisherfluttercandies.com

Weekly Downloads

Native Flutter widget, controller and painter for Meld vector morphs.

Repository (GitHub)
View/report issues
Contributing

Topics

#animation #flutter #icons #ui

License

MIT (license)

Dependencies

flutter, meld_core, meld_font

More

Packages that depend on meld_flutter