Android Frame customisation
Create theme
Android theme resource file must be created inside application's android resources folder, e.x., your_app/android/app/src/main/res/values/themes.xml
.
Theme must set parent Theme.Kevin.Base
.
themes.xml
Detailed theme attributes' information can be found here.
When using code shrinking for release builds, drawables, which are referenced in a theme/styles, should be added to your_app/android/app/src/main/res/raw/keep.xml
file like that:
keep.xml
Set theme
When theme resource is created, theme must be set inside application's main()
method. KevinThemeAndroid()
object must contain theme's name as string.
main.dart
Last updated