Flutter Gopher Dart Library

English | 中文

The Flutter Gopher Dart library is a dependency of the Flutter plugins generated by the Flutter Gopher tool. It provides FFI binding support between Flutter and native Golang code.

Features

  • Provides dynamic library loading mechanism, supporting multiple platforms (iOS, Android, Windows, macOS, Linux)
  • Implements asynchronous call support, allowing Go functions to be executed asynchronously in Dart
  • Implement a channel listening mechanism to enable Dart to listen to data from Go channels in real time
  • Provides unified error handling mechanism
  • Simplifies the use of FFI binding code

Installation

This library is automatically integrated into Flutter plugins generated by the Flutter Gopher tool, requiring no manual installation.

Flutter Gopher Tool Project

Flutter Gopher tool project repository: https://github.com/czg99/flutter_gopher