Skip to content

niranjk/fluttertutorial

Repository files navigation

fluttertutorial

A new Flutter tutorial project.

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

List of Topics

  1. Setup your Flutter project to Github.
  2. Flutter Basics

Flutter Basics

  • Checking Platforms iOS and creating CupertinoApp
  • MaterialApp for Android and Web and macos platforms
  • Scaffold
  • AppBar
  • Text
  • Column
  • Row
  • Stateless
  • Stateful
  • Creating Stateless Widget
  • Creating Model Data
  • Creating Mock Model Data
  • Using Data to Update View in Flutter
  • Working with Images in Flutter
  • Styling Text with Custom Styles
  • Adding fonts
  • List and ListView Widget
  • ListTile
  • Navigation : Navigator, MaterialPageRoute

Unit Test in Flutter

  • Matchers

Widget Test / Smoke Test

  • dev_dependencies: network_image_mock: ^2.0.1 for Mocking Network Images for Integration Test
  • WidgetTester.pumpWidget(Widget())
  • Matcher : findsNothing

Integration Test

  • IntegrationTestWidgetsFlutterBinding.ensureInitialized()
  • WidgetTester.pumpAndSettle()
  • Matcher : findsOneWidget

WebServices

  • Json String
  • Serialization : Encoding
  • Deserialization : Decoding
  • Serializing JSON manually using dart:convert
  • Serializing JSON using code generation library json_serializable, build_runner, json_annotation
  • http package
  • URI : Universal Resource Identifier
  • Unit testing WebServices
  • Using StatefulWidget to update view with data received from WebServices
  • Show ProgressBar which waiting for response : LinearProgressIndicator Widget
  • If WebServices fails provide Pull to Refresh mechanism : RefreshIndicator Widget

Customising Widgets

  • ListTile Widgets
  • ListView Widgets
  • GestureDetector Widget
  • SizedBox
  • Stack
  • url_launcher package
  • TextButton
  • Handle Button Press
  • Custom AppBar

ALL Flutter Commands

  • flutter doctor
  • flutter create
  • flutter run
  • flutter --help --verbose
  • flutter test
  • flutter test integration_test
  • flutter pub run build_runner build --delete-conflicting-outputs
  • flutter pub run build_runner watch --delete-conflicting-outputs

About

Everything about Flutter Tutorial

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published