prisma_flutter_connector 0.1.4 copy "prisma_flutter_connector: ^0.1.4" to clipboard
prisma_flutter_connector: ^0.1.4 copied to clipboard

A type-safe Flutter connector for Prisma backends. Generate Dart models and type-safe APIs from your Prisma schema with support for PostgreSQL, MySQL, SQLite, and Supabase.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate prisma_flutter_connector

Use it

The package has the following executables:

$ generate

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add prisma_flutter_connector

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  prisma_flutter_connector: ^0.1.4

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:prisma_flutter_connector/prisma_flutter_connector.dart';
1
likes
150
points
91
downloads

Publisher

unverified uploader

Weekly Downloads

A type-safe Flutter connector for Prisma backends. Generate Dart models and type-safe APIs from your Prisma schema with support for PostgreSQL, MySQL, SQLite, and Supabase.

Repository (GitHub)
View/report issues

Topics

#prisma #orm #database #code-generation #graphql

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

args, flutter, freezed_annotation, gql, graphql_flutter, json_annotation, mysql1, postgres, sqflite, supabase_flutter, web_socket_channel

More

Packages that depend on prisma_flutter_connector