blueprint_system 0.0.1 copy "blueprint_system: ^0.0.1" to clipboard
blueprint_system: ^0.0.1 copied to clipboard

outdated

A flutter library that creates blueprint widgets with nodes (child widgets) that may be added to them. These nodes can be moved, resized, and modified.

Blueprint System πŸ—ΊοΈ #

A flutter library that creates blueprint widgets with nodes (child widgets) that may be added to them. These nodes can be moved, resized, and modified. ⚑

Usage #

  1. Initialize controller (required)
BlueprintController controller = BlueprintController();
  1. Use Blueprint widget and assign controller to it
@override
Widget build(BuildContext context) {
    return Scaffold(
        body: Blueprint(controller),
    );
}
  1. Add your first node πŸ›Ή
NodeController node = NodeController(
    initPosition: const Offset(30, 10),     // initial position
    initSize: const Size(200, 50),          // initial size
);

controller.addNode(node);

Additional information #

This package is still under development and I will do my best to make it more stable. PRs are always welcome! πŸ¦„

11
likes
0
points
35
downloads

Publisher

unverified uploader

Weekly Downloads

A flutter library that creates blueprint widgets with nodes (child widgets) that may be added to them. These nodes can be moved, resized, and modified.

Homepage

License

unknown (license)

Dependencies

flutter, get, uuid, vector_math

More

Packages that depend on blueprint_system