-
Hey guys! First of all thanks for the great package! How do you go about when you integrate forui with material components? Let's say for example I want to create a custom TextField, how can I keep the same feeling that the FTextField has? Sorry if this seems a silly question, but I am new to flutter :) Thanks for the help! |
Beta Was this translation helpful? Give feedback.
Answered by
Pante
Feb 2, 2025
Replies: 1 comment 3 replies
-
In the current release, you will need to manually adjust Material's theme. We're working on a Forui to Material theme mapping, see #351 that should hopefully address this. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
UPDATE:
We've introduced a Forui to Material theme mapping function in 0.10.0. See https://forui.dev/docs/themes#material-design-interoperability for more information.
Old answer
Off the top of my head, you'll need to map Forui's FThemeData to Material's ThemeData.
I think the mapping in #220 is a good starting point.
(Image taken from the issue above)