Skip to main content

iran_plate 0.6.0 copy "iran_plate: ^0.6.0" to clipboard
iran_plate: ^0.6.0 copied to clipboard

Iran's licence plates for the plate_core library — country panels, the Persian alphabets, and the Iranian plate specs.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:plate_core/plate_core.dart';
import 'package:iran_plate/iran_plate.dart';

void main() => runApp(const ExampleApp());

class ExampleApp extends StatelessWidget {
  const ExampleApp({super.key});

  @override
  Widget build(BuildContext context) {
    // Any of IranUsage's seventeen classes; spec and theme both come from it.
    const usage = IranUsage.private;
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: Padding(
            padding: const EdgeInsets.all(16),
            child: PlateCanvas(
              spec: IranPlates.forUsage(usage),
              theme: IranThemes.forUsage(usage),
              onChooseCharacter: (alphabet) async => null,
            ),
          ),
        ),
      ),
    );
  }
}
2
likes
140
points
358
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Iran's licence plates for the plate_core library — country panels, the Persian alphabets, and the Iranian plate specs.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, plate_alphabet, plate_core

More

Packages that depend on iran_plate