Coding Studio

Learn & Grow together.

How MediaQuery & LayoutBuilder used in adoptive design in Flutter application?

When to use MediaQuery or LayoutBuilder MediaQuery.sizeOf(context):Purpose: To get the overall screen size (width and height).When to Use:When you need to know the device’s screen dimensions.When you want to create layouts that are relative to the screen size (e.g., a Read more…


Sample Flutter App to Take Camera Picture

Taking a pic through a mobile camera is a very common phenomenon. In this topic, we would see how to implement a camera app in Flutter. Let’s start on it. pubspec.yaml dependencies version: 1.0.0+1environment: sdk: ^3.6.0# Dependencies specify other packages Read more…


Viper Architecture in Android Application


What are Kotlin Scope Functions? How to use them?


What are scope functions in Kotlin? How to use them!!

Kotlin scope function ( let, run, with, apply, also ) Basically, these functions all perform the same action: execute a block of code on an objectWhen you call such a function on an object with a lambda expression provided, it Read more…


UI State Handling in Android Jetpack Compose


Difference between Flutter & React Native?

Flutter and React Native are two popular frameworks for developing cross-platform mobile applications. Here’s a comparison of both, along with their future scopes. 1. Technology Overview 2. Advantages Feature Flutter React Native UI/UX Consistency Consistent across platforms (pixel-perfect) UI adapts Read more…


SOLID Principles – Do you understand them?

The SOLID principles help in writing clean, scalable, and maintainable code, and they are highly applicable in Java as well. Let’s go through each principle with examples in Java. 1. Single Responsibility Principle (SRP) A class should have only one Read more…


How Kotlin Coroutine Exception Handling Works?

Exceptions are common while we are coding. So in Kotlin Coroutines as well. However, Exceptions in Coroutines works in some specific ways. Let’s discuss how it works. In case you have doubts in understanding. Please put your comments in the Read more…


What is Kotlin Coroutine & its Basics

Kotlin coroutine is an instance of suspendable computation. It is similar to Thread. But it’s not the same. It is lighter weight than Thread, as it consumes less memory. It is useful to execute CPU-intensive tasks in Android applications. Here Read more…