flutter vs reactnative code example
Example 1: listview.separated flutter
ListView.separated(
itemCount: 25,
separatorBuilder: (BuildContext context, int index) => Divider(),
itemBuilder: (BuildContext context, int index) {
return ListTile(
title: Text('item $index'),
);
},
)
Example 2: flutter raisedbutton example
RaisedButton(child: Text("Rock & Roll"),
onPressed: _changeText,
color: Colors.red,
textColor: Colors.yellow,
padding: EdgeInsets.fromLTRB(10, 10, 10, 10),
splashColor: Colors.grey,
)
Example 3: react native vs flutter
Google owns Flutter & Dart.
Google usually quits such projects after a few years or does not
show the same interest.
React Native is based on Javascript.
Javascript owned by community.
Example 4: flutter vs react native
Just learn both bro easy