Coder Social home page Coder Social logo

Comments (5)

ibrierley avatar ibrierley commented on July 17, 2024

I think that seems reasonable...I'm not sure if it's as simple as changing the icon an pointIcon type from an Icon to a Widget. Feel free to see if that works in the meantime (not quite sure atm when I'll get chance to test).

from flutter_map_line_editor.

moovida avatar moovida commented on July 17, 2024

@ibrierley , yes it should be that simple. They are wrapped in a container anyways so they are handled as widgets.

Also tested to be sure:

class PolyEditor {
  final List points;
  final Widget pointIcon;
  final Widget intermediateIcon;

from flutter_map_line_editor.

ibrierley avatar ibrierley commented on July 17, 2024

Great, thanks. Feel free to make a pull request (pretty new to git repos, so will give me practice!), otherwise I'll update over the weekend.

from flutter_map_line_editor.

moovida avatar moovida commented on July 17, 2024

Oh, ok, will be happy to do so. Didn't want to dirty your repo with two lines of code. :-)
Will do right away, thanks

from flutter_map_line_editor.

moovida avatar moovida commented on July 17, 2024

Here it is: #10
Thank you

from flutter_map_line_editor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.