map_apptimus 0.0.3 map_apptimus: ^0.0.3 copied to clipboard
A new Flutter package for googlemap integration with search function.
import 'package:example/screen/map_screen.dart';
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Map Demo',
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true,
),
home: MapScreen(
showRoute: true,
searchfunction: true,
userkey: 'your_api_key',
),
);
}
}