Filip Wiesner

    Filip Wiesner

    10 months ago
    Is Material Design 2 library going to be deprecated eventually? There are a lot of changes with M3 that I am not sure I want to do right now. But if I'll have to migrate, it might be better to do it sooner rather than later. What is the generally recommended approach since refactoring will be a lot of work.
    seb

    seb

    10 months ago
    I tried migrating a project to m3 on Sunday, there's still a lot of stuff that's not there yet. No rush to migrate imo
    Filip Wiesner

    Filip Wiesner

    10 months ago
    I agree that I would not migrate with existing project but what about project that is just starting? I guess that adopting M3 right now would save a lot of time in the future
    sindrenm

    sindrenm

    10 months ago
    You can't really properly adopt M3 yet, though. Even “basic” things like TextFields and whatnot aren't implemented yet. You're going to have to rely on some M2 stuff stll, I feel like.
    Filip Wiesner

    Filip Wiesner

    10 months ago
    I see, thanks for your input, guys 🙂
    K Merle

    K Merle

    10 months ago
    Hopefully we don't have Material2 and Material3 in same project. So confusing.
    Rick Regan

    Rick Regan

    10 months ago
    Many of the components I use (
    Slider
    ,
    RadioButton
    ,
    TextField
    ,
    Switch
    ,
    Card
    ,
    DropdownMenu
    , and
    Divider
    ) seem to be missing in Material 3 so far.
    seb

    seb

    10 months ago
    As things stand, you need to keep M2 alongside M3 in your project, since there's a ton of things missing in M3 still. The annoying bit is that you need to keep both themes in the project, and sync them up. In particular you need to keep syncing up the colours in the M2 theme to the M3 ones if you're also using dynamic colours
    lbarqueira

    lbarqueira

    7 months ago
    Any sample code you can share on how to keep M2 alongside with M3 in a project?
    seb

    seb

    7 months ago
    You can check out how we're doing it in https://github.com/code-with-the-italians/bundel
    lbarqueira

    lbarqueira

    7 months ago
    Thanks, I will check for sure. Do you have a YouTube video on the livestream where you set it up.
    seb

    seb

    7 months ago
    We set it up here:

    https://youtu.be/I5Cn4E8gfPA

    and improved it here:

    https://youtu.be/HX8L_d1YCAk

    You mostly need to be looking at the first one I think
    lbarqueira

    lbarqueira

    7 months ago
    Thank you.