Skip to content
pubscout

qris

0.7.1, released 3 years ago by an unverified publisher

Parses Indonesian QRIS codes into merchant and transaction data.

WASM-ready
$ flutter pub add qris
Source repository

What it does

The qris package takes a raw QRIS string and extracts useful information such as merchant name, ID, transaction amount, and point of initiation. It provides convenient getters for each field and validates the CRC and check digit.

AI-written summary of version 0.7.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to read and interpret a QRIS code in a Flutter app
  • You want a lightweight, pure Dart solution without external dependencies

Skip it when

  • You need to generate QRIS codes
  • You require a full barcode scanning solution

Strengths

  • Pure Dart, no build_runner or code generation
  • Supports all Flutter platforms
  • Built-in CRC and check digit validation

Weaknesses

  • No QRIS code generation
  • Documentation is limited to core fields
  • No example of scanning integration

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1
final qris = QRIS(qrisData);
debugPrint(qris.merchantName);

Alternatives

Packages that do the same job and could replace qris.

  • io

    Utilities for the Dart VM Runtime including ANSI colors, file copying, and exit code values.

  • source_span

    Standard representation for source code locations, spans, and human-friendly error messages.

  • dart_eval

    A flexible Dart bytecode compiler and interpreter for dynamic execution and code push.

  • d4rt

    An interpreter and runtime for executing Dart code dynamically.

Works with

Packages commonly used together with qris: ones it builds on, ones built on it, and its own family.