brazil_license_plate_drawing 0.0.4 copy "brazil_license_plate_drawing: ^0.0.4" to clipboard
brazil_license_plate_drawing: ^0.0.4 copied to clipboard

Draws on the screen three different types of brazilian cars' license plates.

example/main.dart

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

void main() {
  runApp(MaterialApp(
    home: HomeScreen(),
  ));
}

class HomeScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: SingleChildScrollView(
        padding: EdgeInsets.all(10),
        child: Column(
          children: [
            const MercosulPlate(
              'AVG0A33',
              width: 300,
              category: BrazilPlateCategory.PARTICULAR,
            ),
            const SizedBox(
              height: 30,
            ),
            const MercosulPlate(
              'AVG0A33',
              width: 300,
              category: BrazilPlateCategory.COMMERCIAL,
            ),
            const SizedBox(
              height: 30,
            ),
            const ThreeLettersPlate(
              'AVG0033',
              width: 300,
              locality: 'PR - CURITIBA',
              showLocality: true,
              category: BrazilPlateCategory.PARTICULAR,
            ),
            const SizedBox(
              height: 30,
            ),
            const ThreeLettersPlate(
              'AVG0033',
              width: 300,
              locality: 'PR - CURITIBA',
              showLocality: true,
              category: BrazilPlateCategory.COMMERCIAL,
            ),
            const SizedBox(
              height: 30,
            ),
            const TwoLettersPlate(
              'AV0033',
              width: 300,
              locality: 'RJ - RIO DE JANEIRO',
              showLocality: true,
              category: BrazilPlateCategory.PARTICULAR,
            ),
            const SizedBox(
              height: 30,
            ),
            const TwoLettersPlate(
              'AV0033',
              width: 300,
              locality: 'RJ - RIO DE JANEIRO',
              showLocality: true,
              category: BrazilPlateCategory.COMMERCIAL,
            ),
            const SizedBox(
              height: 30,
            ),
            const TwoLettersPlate(
              'AV0033',
              width: 300,
              showLocality: false,
              category: BrazilPlateCategory.COMMERCIAL,
            ),
          ],
        ),
      ),
    );
  }
}
6
likes
150
points
25
downloads

Publisher

verified publishercarnevalli.org

Weekly Downloads

Draws on the screen three different types of brazilian cars' license plates.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on brazil_license_plate_drawing