Flutter is a new cross-platform mobile app development framework created by Google. It allows building high-performance native apps for Android and iOS from a single codebase using the Dart programming language. The document discusses Flutter's advantages like reactive views without a JavaScript bridge, native performance through AOT compilation, rich customizable widgets, and hot reload capabilities. It provides a quick overview of setting up Flutter development environments and building a basic "Hello World" app. The presenter demonstrates building a simple counter app widget in both Flutter and React Native. He closes by discussing some use cases for Flutter and pointing to further reading resources.
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
All a flutter about Flutter.io
1. All a flutter about Flutter.io
Steven Cooper - @DeveloperSteve
Developer Evangelist - @TelstraDev
Talk #114
2. @DeveloperSteve
Also known as Steven Cooper
Seasoned Dev/Ops/CTO
/Maker/Geek/Gamer.
International Speaker/MC.
Hackathon Mentor/Judge.
Prev @PayPalDev @XeroAPI
31. At a glance
• The advantages of reactive views, with no
JavaScript bridge
• Fast, smooth, and predictable; code compiles AOT
to native (ARM) code
• The developer has full control over the widgets and
layout
• Comes with beautiful, customizable widgets
• Great developer tools, with amazing hot reload
• More performant, more compatibility, more fun
34. DART vs JS
main() {
}
//Checking for null
var myNull = null;
if (myNull == null) {
print('use "== null" to check null');
}
var zero = 0;
if (zero == 0) {
print('use "== 0" to check zero');
}
function main() {
// Can be used as entry point
}
// but it has to be called manually.
main();
//Checking for null
var myNull = null;
if (!myNull) {
console.log("null is treated as false");
}
var zero = 0;
if (!zero) {
console.log("0 is treated as false");
}
42. Assumptions
• iOS and Android are set up at CLI
• Android studio installed and is the prod latest ver
• Xcode installed and is the prod latest ver
• IntelliJ idea is installed
• Brew installed the world
• NPM installed the world
44. Setup Flutter editor(s)
Android Studio TerminalVS
• Browse repos
• Search for Flutter
• Invoke View>Command
Palette…
• Type ‘install’, and select
the ‘Extensions: Install
Extension’ action
• Enter dart code in the
search field, select ‘Dart
Code’ in the list, and click
Install
• Select ‘OK’ to reload VS
Code
• Flutter create myapp
• Cd myapp
46. Setup react-native editor(s)
Android Studio TerminalVS
• Browse repos
• Search for react
• Install the extension in VS Code:
• Press Ctrl + Shift + X (Cmd + Shift
+ X on macOS), wait a moment
while the list of available
extensions is populated
• Type react-native and install
React Native Tools
• For more guidance view VS Code
Extension Gallery
• If you haven't already, install
React Native:
• Run npm install -g react-native-cli
to install React Native CLI
• Set up React Native using the
steps detailed on the React
Native getting started
documentation
• Open your React Native project
root folder in VS Code.
• react-native init myapp
• Cd myapp
47. Create and run apps
flutter create --org com.test.demo myapp
Flutter run -d all
react-native init myapp
react-native run-ios
react-native run-android
The first version of Flutter was known as "Sky" and ran on the Android operating system. It was unveiled at the 2015 Dart developer summit which is good news for recruiters who can ask for a minimum 2 years experience and be safe
Dart is an open-source, scalable programming language for building web, server, and mobile apps. It is an object-oriented, single inheritance language that uses a C-style syntax that is AOT-compiled into native and also transcompiles optionally into JavaScript. It supports interfaces, abstract classes and strong types.
Dart is an open-source, scalable programming language for building web, server, and mobile apps. It is an object-oriented, single inheritance language that uses a C-style syntax that is AOT-compiled into native and also transcompiles optionally into JavaScript. It supports interfaces, abstract classes and strong types.
The first version of Flutter was known as "Sky" and ran on the Android operating system. It was unveiled at the 2015 Dart developer summit which is good news for recruiters who can ask for a minimum 2 years experience and be safe
with composable widget sets, rich animation libraries, and a layered, extensible architecture but in a way that wont eat the battery
Webview - virtual DOM is immutable
React-native – virtual tree of native widgets
Flutter – virtual widget tree is now a widget tree
World hello
Pubspec.yaml is your package.json
Demo1 and demo2
Demotest and RN-counter
World hello
Hmilton the official app was built and deployed in 3 months which is really fast for a major app build, Google also uses it for internal facing apps