Skip to main content

colombia_plate 0.1.1 copy "colombia_plate: ^0.1.1" to clipboard
colombia_plate: ^0.1.1 copied to clipboard

Colombia's licence plates for plate_core: private, public-service, official, diplomatic and police plates, with themes, alphabets and advisory validators.

example/main.dart

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

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: Padding(
            padding: const EdgeInsets.all(16),
            child: PlateCanvas(
              spec: ColombiaPlates.standard(),
              theme: ColombiaThemes.private,
              validator: const ColombiaValidator(),
              autoValidate: true,
              onChooseCharacter: (alphabet) async => null,
            ),
          ),
        ),
      ),
    );
  }
}
1
likes
150
points
797
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Colombia's licence plates for plate_core: private, public-service, official, diplomatic and police plates, with themes, alphabets and advisory validators.

License

MIT (license)

Dependencies

flutter, plate_alphabet, plate_core

More

Packages that depend on colombia_plate