Replies: 1 comment
-
Actually I don't think I need a layer and layeroptions if I just use a widget, children (and ignore the main plugins option) and maybeOf....
and then later in FlutterMap...
Just thinking out loud, not quite so familiar with that route, or if there's any drawbacks...(possibly if one needs to use the events stream, I'm not sure there's access to that, without a _createLayer which gets called internally from a plugin layer and options?) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So whenever I want to write some new code, mainly to mess around with a new plugin or something, I always get a bit confused with the amount of boilerplate I "feel" like I need. Example, here's what I've just written, that does nothing basically so far....
Just wondering, is this what others do, is there a more optimal way (if you just want access to the map object etc) ? Or could there be a better way if things in flutter_map were rejigged ?
Beta Was this translation helpful? Give feedback.
All reactions