Fudge

    Fudge

    3 years ago
    Do you plan to handle accepting a component of a certain type? Like having the
    appBar
    parameter of
    Scaffold
    only accept "a component of type appBar"
    themishkun

    themishkun

    3 years ago
    Is there any point in making this limitation? I mean, you should be able to put anything in your appbar. But for other places, where cruicial, I imagine you can accept an extension function to some restricted context
    c

    Clara Bayarri

    3 years ago
    we can have a named slot that will accept an AppBar by name, but you will always be free to hand in whatever you would like as you may want to write your own App Bar and there is no class inheritance