addTileToQuickSettings static method
Asks to add this tile to QuickSettings of the user.
If the user already has it, this method has no effect. The system might automatically deny if the user has already denied it several times.
Implementation
static Future<AddTileResult?> addTileToQuickSettings({
required String label,
required String drawableName,
}) async {
if (!kIsWeb && Platform.isAndroid) {
return _instance.addTileToQuickSettings(label, drawableName);
} else {
return Future.value(null);
}
}