package com.example.batterylevel import io.flutter.embedding.android.FlutterActivity import io.flutter.embedding.engine.FlutterEngine import io.flutter.plugin.common.MethodChannel import android.content.Context import android.content.ContextWrapper import android.content.Intent import android.content.IntentFilter import android.os.BatteryManager import android.os.Build.VERSION import android.os.Bu
![ケツリカ(結論から理解)するFlutterでAndroid固有の機能を使う方法](https://cdn-ak-scissors.b.st-hatena.com/image/square/2c05268bd78ef8c8f31bb7388ea7e8d88486b58b/height=288;version=1;width=512/https%3A%2F%2Fres.cloudinary.com%2Fzenn%2Fimage%2Fupload%2Fs--PPfH0CJx--%2Fc_fit%252Cg_north_west%252Cl_text%3Anotosansjp-medium.otf_55%3A%2525E3%252582%2525B1%2525E3%252583%252584%2525E3%252583%2525AA%2525E3%252582%2525AB%252528%2525E7%2525B5%252590%2525E8%2525AB%252596%2525E3%252581%25258B%2525E3%252582%252589%2525E7%252590%252586%2525E8%2525A7%2525A3%252529%2525E3%252581%252599%2525E3%252582%25258BFlutter%2525E3%252581%2525A7Android%2525E5%25259B%2525BA%2525E6%25259C%252589%2525E3%252581%2525AE%2525E6%2525A9%25259F%2525E8%252583%2525BD%2525E3%252582%252592%2525E4%2525BD%2525BF%2525E3%252581%252586%2525E6%252596%2525B9%2525E6%2525B3%252595%252Cw_1010%252Cx_90%252Cy_100%2Fg_south_west%252Cl_text%3Anotosansjp-medium.otf_37%3Awh.space%252Cx_203%252Cy_121%2Fg_south_west%252Ch_90%252Cl_fetch%3AaHR0cHM6Ly9saDMuZ29vZ2xldXNlcmNvbnRlbnQuY29tL2EvQUNnOG9jTE1YT3l1VDlvdnVSZ250aXFna0xpMUVjYUxSRjlEYzA4M3RrSnFoYm85d1JZQTJoVT1zOTYtYw%3D%3D%252Cr_max%252Cw_90%252Cx_87%252Cy_95%2Fv1627283836%2Fdefault%2Fog-base-w1200-v2.png)