Flutter Mobile Programming Navigators: 1: What Is Gesture-Detector? Ans
Flutter Mobile Programming Navigators: 1: What Is Gesture-Detector? Ans
Chapter 5
Navigators
1: What is Gesture-Detector?
Ans: Gesture Detector is a non-visual widget primarily used for detecting the user’s gesture.
To identify a gesture targeted on a widget, the widget can be placed inside Gesture Detector widget.
Gesture Detector will capture the gesture and dispatch multiple events based on the gesture
2: What is Slider?
Ans: A slider in Flutter is a material design widget used for selecting a range of values.
It is an input widget where we can set a range of values by dragging or pressing on the desired position
• Usually, we use the slider widget for changing a value. So, it is required to store the
value in a variable. This widget has a slider class that requires the onChanged()
3: What is Navigator?
Ans: widget. The navigator manages a stack of Route objects and provides methods for managing the
stack, like Navigator.push and Navigator.pop.
• Push a named route onto the navigator that most tightly encloses the given context
• Pop the top-most route off the navigator that most tightly encloses the given context
4: What are Routes?
Ans: Route: Apps are the new trend. The number of apps available in the play stores nowadays are
quite a lot.
The apps display their content in a full-screen container called pages or screens. In flutter, the pages or
screens are called as the Routes.
In android, these pages/screens are referred as Activity and in iOS, it is referred as ViewController. But,
in flutter, routes are referred as Widgets. In Flutter, a Page / Screen is called as a Route.
Chapter 6
Stateful widget lifecycle
2: What is Geolocator?
Ans: A Flutter geolocation plugin which provides easy access to platform specific location services
FusedLocationProviderClient or if not available the LocationManager on Android
and CLLocationManager on iOS
Features
Ans: API is the acronym for Application Programming Interface, which is a software intermediary that
allows two applications to talk to each other.
Each time you use an app like Facebook, send an instant message, or check the weather on your phone,
you're using an API.
8: What is JSON?
Ans: JSON is an open standard file format, and data interchange format, that uses human-
readable text to store and transmit data objects consisting of attribute–value
• JSON stands for JavaScript Object Notation
• JSON is a lightweight data-interchange format
• JSON is "self-describing" and easy to understand
• JSON is language independent
Openweathermap
• Access current weather data for any location on Earth including over 200,000 cities!
We collect and process weather data from different sources such as global and local
weather models, satellites, radars and vast network of weather stations. Data is
available in JSON, XML, or HTML forma
Chapter 7 Firebase
1: What is firebase?
• Store and sync data with our NoSQL cloud database.
• Data is synced across all clients in realtime, and remains available when your app goes
offline
• The Firebase Realtime Database is a cloud-hosted database.
• Data is stored as JSON and synchronized in realtime to every connected client. When
you build cross-platform apps with our iOS, Android, and JavaScript SDKs, all of your
clients share one Realtime Database instance and automatically receive updates with
the newest data
2: firebase realtime database?
Ans: Firebase Realtime Database is a cloud-hosted NoSQL database that allows you to store and
synchronize data between your users in real time.
• NEW: Cloud Firestore allows you to store, sync and search app data on a global scale
3: What Cloud Functions?
Ans: Cloud Functions for Firebase is a serverless framework that lets you automatically run backend
code in response to events triggered by Firebase features and HTTPS requests.
Your JavaScript or TypeScript code is stored in Google's cloud and runs in a managed environment.
There's no need to manage and scale your own servers.
Ans: Cloud Firestore is a NoSQL document database that lets you easily store, sync, and query data for
your mobile and web apps - at global scale.