Ahmed Abu Eldahab
GDE Flutter & Dart
@dahabdev
Build responsive
applications with
Google Flutter
Slides: bit.ly/flutter-web-part3
Ahmed Abu Eldahab
Google Developer Expert in Flutter & Dart
Senior Technical Consultant
Kortobaa LLC CTO
/Dahabdev
bit.ly/dahab-youtube
Flutter is Google’s UI toolkit
for building beautiful,
natively compiled
applications for mobile, web,
and desktop from a single
codebase
The last 4 months
What's new in
https://flutter.dev/docs/whats-new
Dev Tools in VS Code Flutter 1.20
https://dartcode.org/releases/
Dev Tools in VS Code Flutter 1.20
https://dartcode.org/releases/
Auto Import -  VS Code Flutter 1.20
https://dartcode.org/releases/
Autofill Support
Flutter 1.20
Mouse Cursor Support
Flutter 1.20
New visual appeals
Slider - RangeSlider - DatePicker - TimePicker
Flutter 1.20
Interactive Viewer - drag n’ drop widgets
Flutter 1.20
Pigeon
https://pub.dev/packages/pigeon
Flutter 1.20
Performance improvement
Icon & fonts tree shaking
Flutter 1.20
Flutter 1.22
Android 11 better animation
Flutter 1.22
Android notches support
Flutter 1.22
https://flutter.dev/docs/development/ios-14
ios 14 support
Flutter 1.22
Google Maps and
WebView plugins ready
for production
Flutter 1.22
Expanding the Button “universe”
Flutter 1.22
Navigator 2.0
Flutter 1.22
Navigator 2.0
Flutter 1.22
Navigator 2.0
Flutter 1.22
App size analysis tool
--analyze-size
- flutter build apk
- flutter build appbundle
- flutter build ios
- flutter build linux
- flutter build macos
- flutter build windows
Flutter 1.22
App size analysis tool
Flutter 1.22
App size analysis tool
Google Pay picks Flutter
to drive its global
product development
Responsive
design In
Flutter
Why should I care ?
● Provide better user experience (UX)
● Mobile Web
● Desktop
● Tablets
Why
Should
I care ?
Responsive layout grid
- Columns
- Gutters
- Margins
1. Columns 2. Gutters 3. Margins
Breakpoints
https://material.io/design/layout/responsive-layout-grid.html
Responsive layout grid
ios
Android
https://material.io/design/layout/responsive-layout-grid.html
Common breakpoints
https://developer.android.com/training/multiscreen/screensizes.html
Breakpoints
https://material.io/design/layout/responsive-layout-grid.html
Device preview
https://pub.dev/packages/device_preview
Device preview
https://pub.dev/packages/device_preview
Device preview
https://pub.dev/packages/device_preview
Flutter UI support widgets
LayoutBuilder MediaQuery
https://www.youtube.com/watch?v=IYDVcriKjsw https://www.youtube.com/watch?v=A3WrA4zAaPw
Breakpoints
Breakpoints
Get Screen width
Breakpoints
Get Screen width
Get device mode
Breakpoints
Get Screen width
Get device mode
Breakpoints
Get Screen width
Get device mode
Set breakpoint and update the UI
Breakpoints
Get Screen width
Get device mode
Set breakpoint and update the UI
Is this the only way ?
Breakpoints
https://pub.dev/packages/responsive_builder
Breakpoints
https://pub.dev/packages/responsive_builder
Breakpoints
https://pub.dev/packages/responsive_builder
bit.ly/dahab-youtube
https://github.com/dahabit/flutter-web-session2
bit.ly/dahab-youtube
Ahmed Abu Eldahab
Google Developer Expert in Flutter & Dart
Senior Technical Consultant
Kortobaa LLC CTO
/Dahabdev

Build responsive applications with google flutter