Skip to main content

brunei_plate 0.1.0 copy "brunei_plate: ^0.1.0" to clipboard
brunei_plate: ^0.1.0 copied to clipboard

Brunei's licence plates for plate_core — the single-row plate on black, green and yellow, and the diplomatic NN·NN·DC plate, with their themes, alphabets and advisory validators.

example/main.dart

import 'package:flutter/material.dart';
import 'package:brunei_plate/brunei_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: BruneiPlates.singleRow(),
              theme: BruneiThemes.standard,
              onChooseCharacter: (alphabet) async => null,
            ),
          ),
        ),
      ),
    );
  }
}
0
likes
160
points
770
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Brunei's licence plates for plate_core — the single-row plate on black, green and yellow, and the diplomatic NN·NN·DC plate, with their themes, alphabets and advisory validators.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, plate_alphabet, plate_core

More

Packages that depend on brunei_plate