패키지, 저장소 및 앱 카테고리 검색

figma_frame_inspector 표지
패키지 상세v0.0.5

figma_frame_inspector

앱에서 Figma 프레임이 얼마나 정확하게 구현되었는지 확인하는 Flutter 플러그인입니다.

AndroidiOSmacOSWindowsLinux
30일 다운로드
45
좋아요
25
Pub 점수
150

패키지 설치

flutter pub add figma_frame_inspector

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

Figma Frame Inspector는 Flutter 플러그인으로, 개발자가 앱 내에서 Figma 디자인 구현의 정확성을 확인하는 데 도움을 주기 위해 설계되었습니다. 실행 중인 앱 위에 Figma 프레임의 경계와 치수를 직접 오버레이하여 디자인과 개발 간 실시간 시각적 비교를 가능하게 합니다. 이 도구는 테스트 중 UI 검증을 간소화하여 디자인 사양과 픽셀 단위로 완벽한 일치를 보장합니다. Android, iOS, macOS, Windows, Linux 등 여러 플랫폼을 지원하여 크로스플랫폼 팀에게 유연성을 제공합니다. 디자이너와 개발자가 긴밀히 협업하는 환경에서는 특히 유용합니다.

사용 사례

  • Figma 디자인과 UI 정밀도 검증
  • 다중 플랫폼 UI 일관성 검사
  • 디자인 인수 검증
  • 레이아웃 차이의 실시간 디버깅
  • 디자이너와 개발자 간의 팀 협업

주요 기능

  • 앱에 Figma 프레임 경계를 오버레이합니다
  • 여러 플랫폼을 지원합니다
  • 실시간 시각적 비교
  • pub add를 통한 간단한 통합
  • 레이아웃 편차 강조

적합한 대상

  • UI/UX 개발자
  • Flutter를 사용하는 디자이너
  • 크로스 플랫폼 개발 팀
  • 품질 보증 테스터
  • 디자인에 Figma를 사용하는 팀

고려 사항

  • 개발/테스트용으로만 사용
  • Figma 프레임 데이터 필요
  • 생산 빌드에 적합하지 않습니다
  • 디버그 모드에서 성능에 영향을 미칠 수 있습니다
  • 자동 검증 없이 시각적 검사에 국한

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

Figma Frame Inspector

Pub Version

A Flutter plugin to verify how accurately the Figma frame was implemented in the app (whether paddings and elements sizes are correct).

With this tool any developer can verify all the paddings, font styles and elements sizes matches design specification in Figma.

recording

How it works

This plugin provides FigmaFrameInspector widget that renders provided Figma frame on top of child screen widget. This helps to check proper frame implementation.

PS: Example Figma frame was taken from here

Implementation Figma Diff

Installation

flutter pub add figma_frame_inspector

Usage

Get Figma Personal Access Token
  • In Figma go to Account -> Personal Access Tokens
  • Generate a new token
Get Figma Frame URL
  • In Figma open design file
  • On the left side in Layers section select a frame that you need to verify
  • Copy the URL of the frame

figma-copy-frame

Integration
  • import 'package:figma_frame_inspector/figma_frame_inspector.dart';
  • Wrap your app with FigmaFrameInspector widget:
class MyHomePage extends StatelessWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);

  final String title;

  @override
  Widget build(BuildContext context) {
    return FigmaFrameInspector( // <-- Wrap your screen widget with this widget.
      frameUrl:
          "<figma-frame-url>", // <-- Specify the Figma frame url. Looks like this: https://www.figma.com/file/<file_key>/<file_name >?node-id=<node_id>
      figmaToken: '<figma-token>', // <-- Specify the Figma `Personal access token` from Account Settings page.
      // Optional parameters:
      scale: 3, // A number between `0.01` and `4`, the image scaling factor.
      initialOpacity: .3, // Opacity of the frame on the screen start (default `30%`).
      enabled: true, // Enable or disable the frame overlay (default `true`).
      isTouchToChangeOpacityEnabled: true, // Enable or disable vertical scroll to change the frame overlay opacity (default `true`).
      child: Scaffold(
        appBar: AppBar(
          title: Text(title),
        ),
        floatingActionButton: const FloatingActionButton(
          onPressed: null,
          tooltip: 'Increment',
          child: Icon(Icons.add),
        ),
      ),
    );
  }
}

Credits

This plugin was heavily inspired by flutter_figma_preview

Figma sample design taken from here https://www.figma.com/community/file/1060856334579637757

License

Can be found here.

카테고리

의존성

의존성 목록 2 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.