Open mahery01 opened 2 months ago
You can provide a navigationPaneTheme
in FluentTheme
:
theme: FluentThemeData(
navigationPaneTheme: NavigationPaneThemeData(
tileColor: ButtonState.resolveWith((states) {
return ...; // return color here based on the state.
}),
),
)
We don't have an option to change background color on TabView. One hack is to change the FluentThemeData.resources
values that are used in TabView.
@bdlukaa Thank you for your response. Could you please provide an example for both questions? I've tried but I can't seem to do it. Thank you in advance
¹ is provided at the previous response.
²
FluentTheme(
data: FluentTheme.of(context).copyWith(
resources: ResourceDictionary(
layerOnMicaBaseAltFillColorTransparent: Color(...),
...,
),
),
child: TabView( ... )
),
The previous response shows what colors are used on the TabView.
Hello to all, How to change the background PaneItem and selected TabView?![fluent01](https://github.com/bdlukaa/fluent_ui/assets/9284763/f82a95a6-e754-47f3-8a03-3a9f93cb7891)