figma_auto_layout 1.1.0 figma_auto_layout: ^1.1.0 copied to clipboard
A replica of Figma's auto layout feature that makes converting Figma designs to code faster and less error prone.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add figma_auto_layout
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
figma_auto_layout: ^1.1.0
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:figma_auto_layout/figma_auto_layout.dart';