Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icon is showed at wrong position #15

Open
bigbang489 opened this issue Sep 21, 2021 · 5 comments
Open

Icon is showed at wrong position #15

bigbang489 opened this issue Sep 21, 2021 · 5 comments

Comments

@bigbang489
Copy link

No matter how I changed the position of the objects in SVG file, it keeps showing the icon in wrong position

Screen Shot 2021-09-21 at 09 01 34

Screen Shot 2021-09-21 at 08 56 03

@prateekmedia
Copy link
Contributor

Increase the size of your svg

@bigbang489
Copy link
Author

What is the minimal size or recommendation size for svg?

@SergeShkurko
Copy link
Member

What is the minimal size or recommendation size for svg?

there is no such size, it's vector graphics
the most important thing is that all icons are of the same size. For example, focus on 512

Also please attach you svg from #15 for test here

@bigbang489
Copy link
Author

Here is my SVG

bill_paid.svg.zip

@easazade
Copy link

for me all icons in generated icons font are not centered at all. and all are exactly 2 pixel lower than to where they need to be to look vertically centered.
I have to use this code to make them look centered

Transform.translate(
  offset: const Offset(0, -2),
  child: Icon(
    icon,
    color: defaultK.color(label: 'color', initial: Colors.black),
   ),
),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants