Introduction to declarative UI - Flutter
// Imperative style
b.setColor(red)
b.clearChildren()
ViewC c3 = new ViewC(...)
b.add(c3)
// Declarative style
return ViewB(
color: red,
child: ViewC(...),
)
Jetpack Compose | Android Developers
Xcode - SwiftUI - Apple Developer
SwiftUI vs. Jetpack Compose - QuickBird Studios Blog
No comments:
Post a Comment