DEV Community

Discussion on: Custom Flutter Launcher Icon

Collapse
 
nombrekeff profile image
Keff

Note that this approach will generate a static icon, but flutter_launcher_icons also allows for adaptative_icons, the ones that adapt to whatever icon shape the user has defined in his device. This will give your app a way more professional look!!

From android docs:
Android 8.0 (API level 26) introduces adaptive launcher icons, which can display a variety of shapes across different device models. For example, an adaptive launcher icon can display a circular shape on one OEM device, and display a squircle on another device.

pub.dev/packages/flutter_launcher_...
developer.android.com/guide/practi...

Collapse
 
gikwegbu profile image
George Ikwegbu Chinedu

Hi Keff,

I don't know if I read your response wrongly, but , I used the 'flutter_launcher_icons' package for this article...

Collapse
 
nombrekeff profile image
Keff

Ohh yeah, I just wanted to show you that you can also create what are called adaptive icons (for android), they're icons that can adapt to the icon shape defined by the launcher, squared, circle, squircle, etc... Just in case you didn't know about them

They're pretty cool, apart from adapting to the shape, they also animate when you press the icon or swipe the page, giving the app a more professional feel.

Take a look at this guide if you want to understand it better