I want to change the icons of the nav bar (i'm new to flutter), as you used path/canvas to create icons. my question is how to convert images/icons into path/canvas code as:
ui.Path()..addRRect(RRect.fromLTRBXY(-12, -12, -2, -2, 2, 2)),
ui.Path()..addRRect(RRect.fromLTRBXY(2, -12, 12, -2, 2, 2)),
ui.Path()..addRRect(RRect.fromLTRBXY(-12, 2, -2, 12, 2, 2)),
ui.Path()..addRRect(RRect.fromLTRBXY(2, 2, 12, 12, 2, 2)),
how to convert images/icons to above code, or how to add images/icons instead of defining path/canvas (custom painting)
I want to change the icons of the nav bar (i'm new to flutter), as you used path/canvas to create icons. my question is how to convert images/icons into path/canvas code as: ui.Path()..addRRect(RRect.fromLTRBXY(-12, -12, -2, -2, 2, 2)), ui.Path()..addRRect(RRect.fromLTRBXY(2, -12, 12, -2, 2, 2)), ui.Path()..addRRect(RRect.fromLTRBXY(-12, 2, -2, 12, 2, 2)), ui.Path()..addRRect(RRect.fromLTRBXY(2, 2, 12, 12, 2, 2)),
how to convert images/icons to above code, or how to add images/icons instead of defining path/canvas (custom painting)