kota's memex

Flutter is a UI software development kit for making cross platform apps. It's primarily used to create android and ios apps, but can also create web apps and native apps for desktop operating systems. Flutter uses the dart programming language.

flutter tool flutter basics flutter stateless flutter stateful flutter animations

set app name

android

Edit AndroidManifest.xml:

<application
        android:name="io.flutter.app.FlutterApplication"
        android:label="your_app_name"
        android:icon="@mipmap/ic_launcher">

ios

Edit Info.plist:

<key>CFBundleName</key>
<string>your_app_name</string>

set app icon

https://icon.kitchen

This site has a nice icon generator. You give it an image, set a background color and can tweak a few other details. It exports to all the weird sizes you need.

https://pub.dev/packages/flutter_launcher_icons

There's a "library" for flutter that makes it really easy to include icons in the correct formats for ios and android. Pretty much just add the following config to your pubspec.yaml file:

dev_dependencies:
  flutter_launcher_icons: "latest version"

flutter_icons:
  android: true
  ios: true
  image_path: "assets/icon/icon.png"

Then run these commands:

flutter pub get
flutter pub run flutter_launcher_icons:main