enableTile static method

Future<void> enableTile()

Enable the service associated with your Tile. Your Tile will be present in the list of third party tiles and the user will be able to add it to its Quick Settings panel.

Implementation

static Future<void> enableTile() async {
  if (!kIsWeb && Platform.isAndroid) {
    await _instance.enableTile();
  }
}