Last changes not published
This commit is contained in:
parent
ac65ccf990
commit
21ec08303a
43 changed files with 607 additions and 613 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import 'package:flutter/src/widgets/framework.dart';
|
||||
import 'package:flutter_map/plugin_api.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_map/plugin_api.dart';
|
||||
|
||||
class DummyMapPluginOptions extends LayerOptions {
|
||||
final String text;
|
||||
|
|
@ -10,9 +9,9 @@ class DummyMapPluginOptions extends LayerOptions {
|
|||
|
||||
// https://github.com/apptreesoftware/flutter_map/blob/master/flutter_map_example/lib/pages/plugin_api.dart
|
||||
class DummyMapPlugin extends MapPlugin {
|
||||
|
||||
@override
|
||||
Widget createLayer(LayerOptions options, MapState mapState) {
|
||||
Widget createLayer(
|
||||
LayerOptions options, MapState mapState, Stream<Null> stream) {
|
||||
if (options is DummyMapPluginOptions) {
|
||||
return const SizedBox();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue