interactive_maps_marker 0.0.5 interactive_maps_marker: ^0.0.5 copied to clipboard
Easy to use Animated Maps Markers with detail card. Use it for store or any place locator.
import 'package:flutter/material.dart';
import 'advance_usage.dart';
import 'simple_usage.dart';
import 'stateful_example.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Interactive Map Marker List',
theme: ThemeData(
primarySwatch: Colors.blue,
visualDensity: VisualDensity.adaptivePlatformDensity,
),
home: MyHomePage(),
);
}
}
class MyHomePage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('Interactive Map Marker List'),
),
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
ElevatedButton(
child: Text('Simple Usage'),
onPressed: () {
Navigator.push(
context,
MaterialPageRoute(builder: (context) => SimpleUsage()),
);
},
),
ElevatedButton(
child: Text('Stateful Widget Example'),
onPressed: () {
Navigator.push(
context,
MaterialPageRoute(builder: (context) => StatefulExample()),
);
},
),
ElevatedButton(
child: Text('Advanced Usage'),
onPressed: () {
Navigator.push(
context,
MaterialPageRoute(builder: (context) => AdvancedUsage()),
);
},
),
],
),
),
);
}
}