Figma API client written in pure Dart

Overview

figma

figma pub style: pedantic license

A library for interacting with Figma APIs.

Created from templates made available by Stagehand under a BSD-style license.

Usage

A simple usage example:

import 'package:figma/figma.dart';

main() {
  final client = FigmaClient('token');

  final file = await client.getFile('file_key');
}

Features and bugs

Please file feature requests and bugs at the issue tracker.

Comments
  • Does not work with Flutter web

    Does not work with Flutter web

    This package doesn't work with Flutter web due to its dependency on SecureSocket which isn't available yet for web. I'm curious why HttpClient isn't used instead?

    question 
    opened by yzxben 2
  • new easing_type: CUSTOM_BEZIER

    new easing_type: CUSTOM_BEZIER

    hello

    there is new easing_type in figma: CUSTOM_BEZIER without it I have failed my project I provided PR with this new type and rebuilt it with flutter 3.0.5. In some places there are many differences like replacements {} with => and other. It works for my figma file Please check it and merge, thanks

    opened by jWinterDay 1
  • Allow to use http package instead of http2

    Allow to use http package instead of http2

    A few months ago, we had to switch the request logic to http2 since Figma APIs need HTTP2 to support large responses from this API.

    This works well on mobile, but not on web, where HTTP2 isn't surfaced (the current FigmaClient implementation can't be used with web target) and is just used under the hood when available . This means that regular http requests become in fact HTTP2 requests under the hood, depending on the web browser and requests headers.

    To summarize, we have to use http2 on mobile/desktop, and http on web.

    opened by aloisdeniel 1
  • Missing `layoutGrow` property

    Missing `layoutGrow` property

    There's an error in the Figma documentation about layoutGrow property that is documented only on Vector nodes, but which should also be present on Frame nodes since it indicates how auto-layout's children should behave.

    By trying to implement auto-layout rendering, I'm quite confident that it is an issue with Figma documentation since this property is returned by the API for all auto-layout children.

    image

    opened by aloisdeniel 0
  • Missing `componentSets ` property on `FileResponse`, and `Component` node

    Missing `componentSets ` property on `FileResponse`, and `Component` node

    Missing componentSets property on FileResponse.

    image

    There's also a dedicated node with COMPONENT_SET type (which is just like a regular components, but identifies variants).

    image

    opened by aloisdeniel 0
Owner
Arne Molland
Senior Consultant @Sonat-Consulting
Arne Molland
My flutter project in figma.com

exam A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this is

null 1 Oct 31, 2021
Figmatoflutter - Figma to flutter plugin example

figma_to_flutter Here is a example figma to flutter plugin Figma File Figma File

Jogendra Singh 2 Jan 14, 2022
A discord bot, made with Dart, which lets you run your own pure Dart code snippets directly via a discord ping, and get the output in an instant.

A discord bot, made with Dart, which lets you run your own pure Dart code snippets directly via a discord ping, and get the output in an instant.

Anikate De 3 Oct 21, 2022
‎‎‎‎‎Create a serverless Discord bot in pure dart using Discord Interactions webhooks

Create a serverless Discord bot in pure dart using Discord Interactions webhooks Features Feature Status Manage Application Commands Full support (uni

null 4 Sep 28, 2022
ThingsBoard PE API client library for Dart developers.

ThingsBoard PE API client library for Dart developers. It's compatible with TB PE 3.3.0. Usage A simple usage example: import 'package:thingsboard_pe_

ThingsBoard - Open-source IoT Platform 45 Sep 28, 2022
Notion API client for dart

Notion API client for dart. See the ROADMAP file to see what is coming next. API implemented Usage NotionClient class Individual classes A few example

Jonathan Gómez 22 Oct 9, 2022
Math rendering and editing in pure Flutter.

Flutter Math Math equation rendering in pure Dart & Flutter. This project aims to achieve maximum compatibility and fidelity with regard to the KaTeX

null 109 Dec 16, 2022
Simple Chat Application using pure Firebase.

chat_app A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this

null 0 Dec 29, 2021
Real-Distributed RTC System by pure Go and Flutter

ION ION is a distributed real-time communication system, the goal is to chat anydevice, anytime, anywhere! Online Docs https://pionion.github.io Spons

Pion 3.7k Jan 8, 2023
A fully cross-platform wrap of the Matomo tracking client for Flutter, using the Matomo API.

A fully cross-platform wrap of the Matomo tracking client for Flutter, using the Matomo Tracking API.

Floating Dartists 12 Jan 8, 2023
A simple and easy to use Redis client for Dart

redis_dart A simple and minimalist Redis client for Dart See it in pub: https://pub.dev/packages/redis_dart and GitHub: https://github.com/gabrielpach

Gabriel Pacheco 7 Dec 25, 2022
This is a fully fledged Sudoku game written in Dart using Flutter.

This is a fully fledged Sudoku game written in Dart using Flutter.

Varun Shanbhag 56 Dec 29, 2022
A Dart FFI package to send 💬 toasts on Windows. Written in C++, based on WinToast.

desktoasts A Dart package to send native ?? toasts on Windows. Installation For Flutter dependencies: ... desktoasts: ^0.0.2 For Dart CLI here Sup

Hitesh Kumar Saini 37 Mar 7, 2022
Simple URL-shorter written in Dart with Notion as a database

Tuda A simple URL-shorter service written in pure Dart. With Notion as a database, it provides the simplest interface for setting your links. Environm

Parabola 8 Aug 19, 2022
Wallet Connect client in Dart.

Wallet Connect Wallet Connect client in dart highly inspired from wallet-connect-kotlin by Trust Wallet. Usage import 'package:wallet_connect/wall

null 101 Dec 29, 2022
Elpee is a multiplatform app written entirely in Dart/Flutter.

elpee - Explore and share music About Elpee is a multiplatform app written entirely in Dart/Flutter. The data is retrieved from the Spotify Web API an

Tom van Lieshout 86 Oct 25, 2022
The Fuse Wallet is a cross platform Ethereum wallet written in Dart and built on Flutter.

Fuse Wallet The Fuse Wallet is a cross platform Ethereum wallet written in Dart and built on Flutter. It's runninng on the Fuse network, but can be pl

null 4 Nov 9, 2022
An equation solving library written purely in Dart.

An equation solving library written purely in Dart Thanks to the equations package you will be able to solve numerical analysis problems with ease. It

Alberto 43 Dec 27, 2022
A modern voice chat application. The project has been written solely in Dart Language.

VChat A modern voice chat application. The application welcomes the user with the login screen. After a simple registration process, an empty "Home" s

Bulent Baris Kilic 6 Aug 18, 2022