SwiftUI

SWiftUI is Native.

  1. In SwiftUI called views

2. if we want to show widgets vertically and horizontally, we can use Column and Row widgets.

3. ZStack is used to layer views on top of each other.

Example:

VStack(alignment: .leading) {
Text("SwiftUI is a modern way to declare user interfaces for any Apple platform. ")
.font(.title)
.color(.red)
.lineLimit(nil)
Text("Create beautiful, dynamic apps faster than ever before.")
.font(.system(size: 20))
.lineLimit(2)
}.padding(EdgeInsets(top: 0, leading: 10, bottom: 0, trailing: 10))

Flutter

1.Flutter enables the creation of two versions of your application at a time. Being platform-agnostic Flutter uses one code to work from both iOS and Android.

2.In Flutter called widgets.

3.if we want to show widgets vertically and horizontally, we can use Column and Row widgets, and

Container widget, which contains other widgets.

Example:

new Column (
children: <Widget>[
new Text ("Long text 1 Long ",
textAlign: TextAlign.left,
style:TextStyle(
fontSize :14.0)),
new Text ("Long Text 2, Long ",
textAlign: TextAlign.left),
],
),

IOS and Flutter Developer, Love to build...