How to extract a theme from Prokit JetPack Compose

Estimated reading: 2 minutes 270 views

Step 1 – Make folder such as assets, component, extensions, models. screens, utils

Step 2 – Add deoendencies for glide in build.gradle
implementation “com.github.skydoves:landscapist-glide:1.3.1”

Step 3 – Add Extention file in your project path from main/utils/AppExtension like com/iqonic/themedesignjetpack/theme1/utils/AppExtension.kt

Step 4 – Add AppConstants file in your project path like com/iqonic/themedesignjetpack/theme1/utils/AppConstants.kt

Step 5 – Add perticuler theme extention in your project path like com/iqonic/themedesignjetpack/theme1/utils/T1Extention.kt

Step 6 – Add dataprovider file in your project path like com/iqonic/themedesignjetpack/theme1/utils/T1DataProvider.kt for add data or remove data from dataprovider file

Step 7 – Add imageprovider file in your project path like com/iqonic/themedesignjetpack/theme1/utils/T1ImageProvider.kt for add image

Step 8 – Add all screen in your project path like com/iqonic/themedesignjetpack/theme1/screens/T2Dashboard.kt for add design

Step 9 – Add model in your project path like com/iqonic/themedesignjetpack/theme1/models/T1Model.kt for add field as you are requirements

Step 10 – Add entire app extention from com.iqonic.projet.main.extensions such as ComposableExt.kt, FloatExt.kt, IntegerExt.kt, StringExt.kt, TextStyleExt.kt

Step 11 – Add component in your project path like com.iqonic.themedesignjetpack.theme1.component you can use this componet in particular theme

Step 12 – Add assert folder in your project path like src/main/java/com/iqonic/themedesignjetpack/theme1/assets you can add image for particular theme

Step 13 – Add font in your project path like src/main/res/font/dmsansbold.ttf you can use font in particular theme

 

Leave a Comment

Share this Doc

How to extract a theme from Prokit JetPack Compose

Or copy link

CONTENTS