If we use material3 directly, we cannot avoid getting confused because there are multiple options to import.
For example...
androidx.compose.material3.Text
androidx.compose.material.Text
So, we solve this problem by adding a ui module that encapsulates material UI components. Not all components are wrapped in this module, so we need to add components when required.
If we use material3 directly, we cannot avoid getting confused because there are multiple options to import.
For example...
androidx.compose.material3.Text
androidx.compose.material.Text
So, we solve this problem by adding a
ui
module that encapsulates material UI components. Not all components are wrapped in this module, so we need to add components when required.