adobe_xd 2.0.1 copy "adobe_xd: ^2.0.1" to clipboard
adobe_xd: ^2.0.1 copied to clipboard

Generate code for building apps with Flutter based on your designs in Adobe XD with the “XD to Flutter” plugin. This package contains helper widgets used by the plugin.

example/lib/main.dart

import 'home.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'XD to Flutter example',
      theme: ThemeData(
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),


      // Home is an artboard exported from Adobe XD
      home: Home(
        // This assigns a handler to a "Tap Callback Name" that was defined
        // on the "Latest Adventures" card in the XD file:
        onTapAdventure: () => print("You tapped the Latest Adventure."),
      ), 

      
    );
  }
}
343
likes
80
points
585
downloads

Publisher

verified publisheradobe.com

Weekly Downloads

Generate code for building apps with Flutter based on your designs in Adobe XD with the “XD to Flutter” plugin. This package contains helper widgets used by the plugin.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

collection, flutter, flutter_svg

More

Packages that depend on adobe_xd