jacklee1995 / flutter_app_service

App service based on GetX library.
MIT License
1 stars 0 forks source link

是否支持自定义主题? #1

Open disonwei opened 1 month ago

disonwei commented 1 month ago

请问下 theme: appService.currentTheme, 与 themeMode: ThemeTool.getThemeModel(), theme: AppTheme.lightTheme, darkTheme: AppTheme.darkTheme, 有什么区别? 以及如何去自定义主题呢?

jacklee1995 commented 1 month ago

一般情况Theme.of(context)获取当前主题数据就好了,不需要使用currentTheme。暂时没有提供定义主题数据的接口,主题数据是预先定义的,拉取于flex theme的主题工具站

---- 回复的原邮件 ---- | 发件人 | @.> | | 发送日期 | 2024年7月9日 00:37 | | 收件人 | @.> | | 抄送人 | @.***> | | 主题 | [jacklee1995/flutter_app_service] 是否支持自定义主题? (Issue #1) |

请问下 theme: appService.currentTheme, 与 themeMode: ThemeTool.getThemeModel(), theme: AppTheme.lightTheme, darkTheme: AppTheme.darkTheme, 有什么区别? 以及如何去自定义主题呢?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>