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

패키지 상세v0.9.1+1

ferry_flutter

Ferry GraphQL 클라이언트용 Flutter 위젯

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
1.2천
좋아요
21
Pub 점수
130

패키지 설치

flutter pub add ferry_flutter

패키지 개요

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

Ferry Flutter는 Ferry GraphQL 클라이언트와 원활하게 작동하도록 설계된 Flutter 위젯 세트를 제공하여 Flutter 애플리케이션에서 효율적이고 반응형 데이터 가져오기를 가능하게 합니다. 내장된 상태 관리 및 로딩/오류 처리 기능을 통해 UI 컴포넌트에 GraphQL 쿼리, 변환, 구독을 쉽게 통합할 수 있습니다. 이 패키지는 봄보일러 코드를 줄이고 반응형 바인딩을 통해 실시간 업데이트를 보장함으로써 개발 생산성을 향상시킵니다. 동적으로 GraphQL API와 데이터를 동기화해야 하는 앱에 적합합니다.

사용 사례

  • Flutter 앱에서 실시간 데이터 업데이트
  • GraphQL 쿼리 통합 간소화
  • GraphQL로 반응형 UI 만들기
  • Flutter에서 GraphQL 상태 관리하기
  • GraphQL 서버에서 데이터를 가져오고 변형하기

주요 기능

  • GraphQL용 반응형 Flutter 위젯
  • 내장된 로딩 및 오류 상태
  • 의존성 변경 시 자동 재검색
  • 쿼리, 변동 및 구독 지원
  • Ferry 클라이언트와의 원활한 통합

적합한 대상

  • GraphQL를 사용하는 플러터 개발자
  • 실시간 데이터 동기화가 필요한 앱
  • 복잡한 데이터 종속성을 가진 프로젝트
  • 개발자 경험을 우선시하는 팀
  • Ferry GraphQL 클라이언트를 활용하는 애플리케이션

고려 사항

  • 페리 GraphQL 클라이언트 설정이 필요합니다
  • GraphQL 기반 백엔드에 한정
  • 패키지 크기가 약간 증가할 수 있습니다
  • 페리 클라이언트 안정성에 따라 다름
  • GraphQL 요구 사항이 있는 현대적인 Flutter 프로젝트에 가장 적합

원본 README

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

A simple, powerful GraphQL Client for Flutter and Dart

MIT License PRs Welcome Watch on GitHub Star on GitHub Watch on GitHub Discord

Documentation 📖

Features

  1. ✅ Fully Typed: work faster and safer with compile time checks and IDE autocomplete, including fully typed Cache reads and writes.
  2. 🔄 Built-In Code Generators: automatically generated immutable data classes for all your GraphQL Operations and Fragments, based on your schema.
  3. 🌐 Customizable Network Interface: highly customizable network interface using gql_link, allowing you to compose and extend Links.
  4. ✨ Normalized Optimistic Cache: keep data in sync with cache normalization and update your UI instantly with optimistic data.
  5. 💾 Multiple Data Stores: extensible Store interface with built-in MemoryStore and HiveStore (which uses hive for offline persistence).
  6. 📄 Refetch & Pagination: easily update responses with new data or combine multiple responses, allowing for seamless pagination.
  7. 📱 Flutter Widgets: Widgets for Queries, Mutations, and Subscriptions, available out of the box.
  8. 🧈 Smooth: Run queries in a separate Isolate to free up resources on the UI thread

Packages

This repo is a monorepo for ferry and related packages.

Pub Package Description
version package:ferry Stream-based GraphQL Client
version package:ferry_cache Normalized, strongly typed, optimistic cache
version package:ferry_exec Strongly typed GraphQL execution interface
version package:ferry_flutter Flutter Widgets for GraphQL Operations
version package:ferry_generator Dart Type Generator for GraphQL Operations
version package:ferry_store Data Persistence for ferry's cache
version package:ferry_hive_store Hive implementation of ferry_store
version package:normalize Normalization / denormalization of GraphQL data

카테고리

의존성

의존성 목록 3 개

소스 저장소

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