5

My Requirement is to change the app name and app icon programmatically after installing the application in flutter.

Using the flutter dynamic icon package :https://pub.dev/packages/flutter_dynamic_icon we can change only the dynamic icon

import 'package:flutter_dynamic_icon/flutter_dynamic_icon.dart'; if (await FlutterDynamicIcon.supportsAlternateIcons) {
await FlutterDynamicIcon.setAlternateIconName("photos");

Is there is any best solution to achieve my requirement?. please guide.

Tester12
  • 911
  • 1
  • 11
  • 23

1 Answers1

0

While the app icon can be changed dynamically for use-cases like dynamic icon for Clock and Calendar apps, the app name can't be changed during run-time. The app name on Android is configured in the Manifest file and on iOS, it's on the InfoPlist file. This can be changed by modifying these files and pushing an update for your app.

Omatt
  • 8,564
  • 2
  • 42
  • 144