Build a Mobile App with Payment
Gateway using Flutter
Introduction
This course introduces the Flutter framework for Android app development.
Flutter is a modern, cross-platform, and open-source framework built by Google
to develop apps on Android, iOS, Web and PC platforms. By taking this course,
learners will understand modern app development, and get to build a simple
mobile app that integrates a Web-based payment gateway service.
Aim What is being built in this
course:
• Understand the Flutter Framework A shopping Android app that uses the
and how it makes app development Razorpay payment gateway service.
quicker and easier Use Android Studio to build the app using
• Learn how to build UI layouts with dart
Flutter’s Widgets A scrollable shopfront UI with products on
• Build a shopfront layout with display
products, pricing, and a shopping Includes shopping cart feature
cart feature (add/remove items in cart)
• Integrate a Web-based payment Order payment using Razorpay API
gateway service into the mobile (supports credit/debit cards, net-banking,
application wallets, and UPI) and payment
confirmation
How is it being tested
• Use ADB to debug the app during development
• Install the generated .APK file onto an Android Emulator/ Android device
• Add items to the shopping cart
• Make a test purchase to verify the payment gateway integration
Course Prerequisites
Geared at beginners with basic computer programming knowledge. Optional: Basic
knowledge of dart, Java, C++, or object oriented high-level programming languages
Component requirements
Usage
S.no Components Quantity (one time or Cost Online links
reusable?)
1. Windows 10 64-bit PC or laptop 1 Reusable Free Android Studio
System
• RAM: Requirements
Min: 8GB
Recommended: 16GB Flutter Windows
System
• Free Disk Space: Requirements
Min: 10GB
Recommended: 30GB
• Screen Resolution:
Min: 1280x800px
Recommended: 1920x1080px
2. Android Studio IDE and SDK for Windows 1 Reusable Free Android Studio
Download Page
3. Flutter SDK for Windows 1 Reusable Free Flutter SDK
Windows
Download Page
4. Android Emulator 1 Reusable Free Android Studio -
Run apps on the
Emulator
5. (Optional) Android Device 1 Reusable Varies Android Studio -
Run apps on a
hardware device
Video Lessons
S.no List of video lectures Duration Remarks
(~20min per lesson)
1. Overview of the Course ~5min
2. Introduction to Flutter Framework ~5min
• What is Flutter?
• Why Flutter?
• Anatomy of a Flutter app
3. Installing Flutter and Android Studio ~20min
• Prerequisites
• Install Flutter SDK
• Install Android Studio and plugins
• Install Android Emulator
• Configure Android Studio for Flutter
Development
• Guided tour of Android Studio IDE
4. Create a Flutter Project from Scratch ~15min
• Scaffolding assets a Flutter App
• Add to the app using the Pubspec file
• Add app icon
5. Building the App Layout – Part 1 ~15min
• The Container Widget
• The Row and Column Widgets
• Widget Properties: Expanded and Flex
• The Floating Action Button
6. Building the App Layout – Part 2 ~15min
• The Card and ListTile Widgets
• The ListView and GridView Widgets
• Adding Custom Fonts to the app
• Adding Material Icons with Icon Widget
7. Making a Responsive App – Stateful Widgets ~15min
• The Button Widget and onPressed()
method
• Theory: Stateful vs Stateless Widgets
S.no List of video lectures Duration Remarks
(~20min per lesson)
8. Creating the payment gateway ~20min
• Create a Razorpay account and log in to
the dashboard
• Get the API Key
• Install Flutter Razorpay package and
configure the API
• Sample Output Razorpay
• Showing the Order Success Screen
9. Coding the Shopping Cart Feature ~10min
• Modifying the setState() method to
update price
• Adding and removing caPresentation6rt
items
• Confirming the Order and Opening
Payment Gateway
10. Putting it All Together ~10min
• Conclusion: Installing and Running the
final App on Mobile Device
~ 2hr 10min
Total
Where to source your components
S.no List of homework Content (~5hrs)
1. Create an app page which can display a product with its details.
2. Create a Shopping Cart which can add and remove items.
3. Implement Payment gateway with Razorpay Test mode with a click of a button.
4. Build an Ecommerce app with payment gateway.
Step-by-step Procedure to Build & Test
S.no Step-by-Step Procedure Time
Downloading and Installing Flutter and Android Studio. 15min
Configuring Android Studio for Flutter Development.
Creating a simple Flutter Project using available app layouts. 15min
Creating and using button widgets in the app. 15min
Creating a shopping cart which can add or remove. 30min
Using Razorpay payment gateway to process the transactions. 15min
Integrating payment gateway with the app. 15min