<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Jayesh Prajapati</title>
    <description>The latest articles on DEV Community by Jayesh Prajapati (@jayesh_prajapati).</description>
    <link>https://dev.to/jayesh_prajapati</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3421256%2F7fadd8f6-7283-400e-ba76-ca93591f017c.png</url>
      <title>DEV Community: Jayesh Prajapati</title>
      <link>https://dev.to/jayesh_prajapati</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jayesh_prajapati"/>
    <language>en</language>
    <item>
      <title>Getting Started with Mobile App Development Using Flutter — Step by Step Guide</title>
      <dc:creator>Jayesh Prajapati</dc:creator>
      <pubDate>Thu, 21 Aug 2025 06:59:13 +0000</pubDate>
      <link>https://dev.to/jayesh_prajapati/getting-started-with-mobile-app-development-using-flutter-step-by-step-guide-1l22</link>
      <guid>https://dev.to/jayesh_prajapati/getting-started-with-mobile-app-development-using-flutter-step-by-step-guide-1l22</guid>
      <description>&lt;p&gt;Flutter is an open-source UI toolkit by Google that allows you to build Android, iOS, and web apps using a single codebase. In this guide, we’ll walk you through installing and setting up Flutter and creating your first simple app.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. What is Flutter?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Flutter uses the Dart programming language and is a widgets-based framework, which means the UI is fully customizable.&lt;/p&gt;

&lt;p&gt;Benefits:&lt;/p&gt;

&lt;p&gt;Single codebase → Android + iOS + Web&lt;/p&gt;

&lt;p&gt;Fast development → Hot Reload&lt;/p&gt;

&lt;p&gt;Beautiful UI → Material &amp;amp; Cupertino widgets&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. System Requirements&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Windows:&lt;/p&gt;

&lt;p&gt;Windows 10/11&lt;/p&gt;

&lt;p&gt;Disk Space: 1.64 GB (Flutter SDK)&lt;/p&gt;

&lt;p&gt;RAM: 8 GB recommended&lt;/p&gt;

&lt;p&gt;Tools: PowerShell 5.0+, Git&lt;/p&gt;

&lt;p&gt;Mac:&lt;/p&gt;

&lt;p&gt;macOS (64-bit)&lt;/p&gt;

&lt;p&gt;Xcode (for iOS builds)&lt;/p&gt;

&lt;p&gt;Linux:&lt;/p&gt;

&lt;p&gt;Ubuntu 20+&lt;/p&gt;

&lt;p&gt;Git, curl, unzip installed&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Installing Flutter SDK&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Windows Example:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.flutter.dev/install/archive" rel="noopener noreferrer"&gt;Download the latest Flutter SDK from the official website&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Extract the zip folder (e.g., C:\src\flutter).&lt;/p&gt;

&lt;p&gt;Add C:\src\flutter\bin to your system PATH.&lt;/p&gt;

&lt;p&gt;Open CMD and run:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;flutter doctor&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This checks dependencies and highlights any missing setup steps.&lt;/p&gt;

&lt;p&gt;Mac/Linux: Similar steps, just different paths.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Setting Up an IDE&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Option 1: VS Code (recommended)&lt;/p&gt;

&lt;p&gt;Install VS Code&lt;/p&gt;

&lt;p&gt;Add Flutter &amp;amp; Dart extensions&lt;/p&gt;

&lt;p&gt;Option 2: Android Studio&lt;/p&gt;

&lt;p&gt;Install Android Studio&lt;/p&gt;

&lt;p&gt;Add Flutter plugin&lt;/p&gt;

&lt;p&gt;Set up an Android Emulator&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Creating Your First Flutter App&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Open terminal or CMD.&lt;/p&gt;

&lt;p&gt;Run:&lt;br&gt;
&lt;code&gt;&lt;br&gt;
flutter create hello_flutter&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Navigate to the project:&lt;br&gt;
&lt;code&gt;&lt;br&gt;
cd hello_flutter&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Run the app:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;flutter run&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Example Code — main.dart&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import 'package:flutter/material.dart';

void main() =&amp;gt; runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: Text('Hello Flutter')),
        body: Center(child: Text('Welcome to Flutter!')),
      ),
    );
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;6. Hot Reload &amp;amp; Hot Restart&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Hot Reload: Save code → changes appear instantly&lt;/p&gt;

&lt;p&gt;Hot Restart: Restart the app → resets the state&lt;/p&gt;

&lt;p&gt;Tip: Hot Reload is your best friend for fast experimentation.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Next Steps&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Explore Flutter widgets (Text, Column, Row, Stack)&lt;/p&gt;

&lt;p&gt;Learn State Management (Provider / BLoC)&lt;/p&gt;

&lt;p&gt;Build small apps (Counter, To-Do, Calculator)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://buymeacoffee.com/jayesh.prajapati" rel="noopener noreferrer"&gt;If you found this guide helpful, consider supporting me on Buy Me a Coffee! ☕&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Flutter Widgets (20 Common Widgets)</title>
      <dc:creator>Jayesh Prajapati</dc:creator>
      <pubDate>Sat, 16 Aug 2025 05:15:29 +0000</pubDate>
      <link>https://dev.to/jayesh_prajapati/flutter-widgets-20-common-widgets-p3f</link>
      <guid>https://dev.to/jayesh_prajapati/flutter-widgets-20-common-widgets-p3f</guid>
      <description>&lt;h1&gt;
  
  
  1. Container Widget
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import 'package:flutter/material.dart';

class ContainerExample extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
      padding: EdgeInsets.all(16),
      margin: EdgeInsets.all(8),
      decoration: BoxDecoration(
        color: Colors.blue,
        borderRadius: BorderRadius.circular(10),
      ),
      child: Text('Hello Container!', style: TextStyle(color: Colors.white)),
    );
  }
} 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  2. Row And Column Widget
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; import 'package:flutter/material.dart';

class RowColumnExample extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Column(
      mainAxisAlignment: MainAxisAlignment.center,
      children: [
        Text('Line 1'),
        Text('Line 2'),
        Row(
          mainAxisAlignment: MainAxisAlignment.spaceAround,
          children: [
            Icon(Icons.star),
            Icon(Icons.star),
            Icon(Icons.star),
          ],
        ),
      ],
    );
  }
} 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  3. ListView Widget
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; import 'package:flutter/material.dart';

class ListViewExample extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return ListView(
      children: [
        ListTile(title: Text('Item 1')),
        ListTile(title: Text('Item 2')),
        ListTile(title: Text('Item 3')),
      ],
    );
  }
} 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  4. Stack Widget
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; import 'package:flutter/material.dart';

class StackExample extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Stack(
      children: [
        Image.network('https://placekitten.com/200/300'),
        Positioned(
          bottom: 10,
          right: 10,
          child: Text('Kitten!', style: TextStyle(color: Colors.white)),
        ),
      ],
    );
  }
} 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  5. GestureDetector Widget
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import 'package:flutter/material.dart';

class GestureDetectorExample extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return GestureDetector(
      onTap: () {
        print('Tapped!');
      },
      child: Container(
        padding: EdgeInsets.all(20),
        color: Colors.orange,
        child: Text('Tap Me'),
      ),
    );
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  6.Expanded Widget
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import 'package:flutter/material.dart';

class ExpandedFlexibleExample extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Row(
      children: [
        Expanded(child: Container(color: Colors.red, height: 50)),
        Expanded(child: Container(color: Colors.green, height: 50)),
      ],
    );
  }
} 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  7. FutureBuilder Widget
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import 'package:flutter/material.dart';

class FutureBuilderExample extends StatelessWidget {
  Future&amp;lt;String&amp;gt; fetchData() async {
    await Future.delayed(Duration(seconds: 2));
    return 'Hello from the future!';
  }

  @override
  Widget build(BuildContext context) {
    return FutureBuilder&amp;lt;String&amp;gt;(
      future: fetchData(),
      builder: (context, snapshot) {
        if (snapshot.connectionState == ConnectionState.waiting) {
          return CircularProgressIndicator();
        } else if (snapshot.hasError) {
          return Text('Error: ${snapshot.error}');
        } else {
          return Text('Data: ${snapshot.data}');
        }
      },
    );
  }
} 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  8. Padding Widget
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import 'package:flutter/material.dart';

class PaddingExample extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Padding(
      padding: EdgeInsets.all(20),
      child: Text('Padded Text'),
    );
  }
} 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  9. Align Widget
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import 'package:flutter/material.dart';

class AlignExample extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Align(
      alignment: Alignment.topRight,
      child: Text('Top Right'),
    );
  }
} 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  10.Center Widget
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import 'package:flutter/material.dart';

class CenterExample extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Center(
      child: Text('Centered Text'),
    );
  }
} 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  11. ElevatedButton Widget
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import 'package:flutter/material.dart';

class ElevatedButtonExample extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return ElevatedButton(
      onPressed: () {
        print('Clicked!');
      },
      child: Text('Click Me'),
    );
  }
} 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  12.TextButton Widget
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import 'package:flutter/material.dart';

class TextButtonExample extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return TextButton(
      onPressed: () {},
      child: Text('Text Button'),
    );
  }
} 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  13. IconButton Widget
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import 'package:flutter/material.dart';

class IconButtonExample extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return IconButton(
      icon: Icon(Icons.volume_up),
      onPressed: () {
        print('Volume button pressed');
      },
    );
  }
} 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  14. TextField Widget
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import 'package:flutter/material.dart';

class TextFieldExample extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return TextField(
      decoration: InputDecoration(labelText: 'Enter something'),
    );
  }
} 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  15.Switch Widget
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import 'package:flutter/material.dart';

class SwitchExample extends StatefulWidget {
  @override
  _SwitchExampleState createState() =&amp;gt; _SwitchExampleState();
}

class _SwitchExampleState extends State&amp;lt;SwitchExample&amp;gt; {
  bool isOn = false;

  @override
  Widget build(BuildContext context) {
    return Switch(
      value: isOn,
      onChanged: (value) {
        setState(() {
          isOn = value;
        });
      },
    );
  }
} 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  16.CheckBox Widget
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import 'package:flutter/material.dart';

class CheckboxExample extends StatefulWidget {
  @override
  _CheckboxExampleState createState() =&amp;gt; _CheckboxExampleState();
}

class _CheckboxExampleState extends State&amp;lt;CheckboxExample&amp;gt; {
  bool checked = false;

  @override
  Widget build(BuildContext context) {
    return Checkbox(
      value: checked,
      onChanged: (value) {
        setState(() {
          checked = value!;
        });
      },
    );
  }
} 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  17. AppBar Widget
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import 'package:flutter/material.dart';

class AppBarExample extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text('My AppBar')),
      body: Center(child: Text('Body Content')),
    );
  }
} 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  18. BottomNavigationBar Widget
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import 'package:flutter/material.dart';

class BottomNavExample extends StatefulWidget {
  @override
  _BottomNavExampleState createState() =&amp;gt; _BottomNavExampleState();
}
class _BottomNavExampleState extends State&amp;lt;BottomNavExample&amp;gt; {
  int currentIndex = 0;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(child: Text('Tab $currentIndex')),
      bottomNavigationBar: BottomNavigationBar(
        currentIndex: currentIndex,
        onTap: (index) {
          setState(() {
            currentIndex = index;
          });
        },
        items: [
          BottomNavigationBarItem(icon: Icon(Icons.home), label: 'Home'),
          BottomNavigationBarItem(icon: Icon(Icons.settings), label: 'Settings'),
        ],
      ),
    );
  }
} 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  19. Card Widget
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import 'package:flutter/material.dart';

class CardExample extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Card(
      elevation: 4,
      child: Padding(
        padding: EdgeInsets.all(16),
        child: Text('I am inside a card!'),
      ),
    );
  }
} 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  20. CercleAvatar Widget
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import 'package:flutter/material.dart';

class CircleAvatarExample extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return CircleAvatar(
      radius: 40,
      backgroundImage: NetworkImage('https://i.pravatar.cc/300'),
    );
  }
} 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you enjoyed this, buy me a coffee!&lt;/p&gt;

&lt;p&gt;☕️ &lt;a href="https://www.buymeacoffee.com/jayesh.prajapati" rel="noopener noreferrer"&gt;Buy Me a Coffee&lt;/a&gt;&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>dart</category>
      <category>android</category>
      <category>ios</category>
    </item>
  </channel>
</rss>
