Skip to content

GeekAbdelouahed/flutter_places

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flutter Places

pub package

Flutter places fully customizable widget for autocomplete, compatible with Light and Dark mode.

FullScreen Mode

Overlay Mode

Bottomsheet Mode

Usage

Include 'flutter_places' from Dart Pub.

# pubspec.yaml

dependencies:
  flutter:
    sdk: flutter
  flutter_places: <last-version>

Next, import 'flutter_places.dart' into your dart code.

import 'package:flutter_places/flutter_places.dart';

Example

const apiKey = "API_KEY";

Place place = await FlutterPlaces.show(
                    context: context,
                    apiKey: apiKey,
                    modeType: ModeType.OVERLAY,
                  );

The library use google_maps_webservice library which directly refer to the official documentation for google maps web service.

Releases

No releases published

Packages

No packages published

Languages