car_license_plate 1.0.1 copy "car_license_plate: ^1.0.1" to clipboard
car_license_plate: ^1.0.1 copied to clipboard

A comprehensive package for managing and displaying car license plates in iran for Flutter applications. This project is a specialized package that includes platform-specific implementation code for A [...]

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:car_license_plate/car_license_plate.dart';

void main() {
  runApp(const ExampleApp());
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      theme: ThemeData.light(),
      home: const PlateDemoPage(),
    );
  }
}

class PlateDemoPage extends StatefulWidget {
  const PlateDemoPage({super.key});

  @override
  State<PlateDemoPage> createState() => _PlateDemoPageState();
}

class _PlateDemoPageState extends State<PlateDemoPage> {
  String alphabet = 'ب';

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Car License Plate')),
      body: CarLicensePlate(
        cityNumber: '12',
        twoNumberSection: '345',
        threeNumberSection: '678',
        alphabetSection: 'ب',
        usePersianNumbers: true,
      ),
    );
  }
}
6
likes
150
points
301
downloads

Publisher

unverified uploader

Weekly Downloads

A comprehensive package for managing and displaying car license plates in iran for Flutter applications. This project is a specialized package that includes platform-specific implementation code for All Platforms.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, intl

More

Packages that depend on car_license_plate