mapbox_autocomplete_search_widget 0.0.6 mapbox_autocomplete_search_widget: ^0.0.6 copied to clipboard
MapboxAutocompleteSearchWidget is a flutter package that allows you to search for place name in a autocomplete fashion.
import 'package:example/example_page_widget.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
//Please generate your Access-Token from here https://docs.mapbox.com/help/glossary/access-token/
void main() {
runApp(
ProviderScope(
child: MyApp(),
),
);
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.grey,
),
home: ExamplePageWidget(),
);
}
}