place_pickarte 0.0.5 copy "place_pickarte: ^0.0.5" to clipboard
place_pickarte: ^0.0.5 copied to clipboard

outdated

Sophisticated, artistic, pixel-by-pixel customizable map place picker for Flutter supporting Google Maps, Mapbox, OpenStreetMap and others.

example/lib/main.dart

import 'package:example/modes/customized_place_picker.dart';
import 'package:flutter/material.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Artistic Place Picker',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        useMaterial3: true,
      ),
      home: const HomePage(),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Artistic Place Picker'),
      ),
      body: Container(
        alignment: Alignment.center,
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            ElevatedButton.icon(
              onPressed: () {
                Navigator.of(context).push(
                  MaterialPageRoute(
                    builder: (_) => const CustomizedPlacePicker(),
                  ),
                );
              },
              icon: const Icon(Icons.format_paint_rounded),
              label: const Text('Customized sample'),
            ),
            const SizedBox(height: 32.0),
            ElevatedButton.icon(
              onPressed: () {
                Navigator.of(context).push(
                  MaterialPageRoute(
                    builder: (_) => const CustomizedPlacePicker(),
                  ),
                );
              },
              icon: const Icon(Icons.map),
              label: const Text('Prestyled sample'),
            ),
          ],
        ),
      ),
    );
  }
}
29
likes
0
points
147
downloads

Publisher

verified publisherkamranbekirov.com

Weekly Downloads

Sophisticated, artistic, pixel-by-pixel customizable map place picker for Flutter supporting Google Maps, Mapbox, OpenStreetMap and others.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, geolocator, google_maps_flutter, http, json_annotation, meta, rxdart

More

Packages that depend on place_pickarte