Metadata-Version: 2.4
Name: dartflutter
Version: 1.0.0
Summary: A Python toolkit and reference library for Dart and Flutter Laboratory Experiments 1 to 4
Author-email: VSRAJHAVEL <vsrajhavel@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/VSRAJHAVEL/FlutterLaboratory
Project-URL: Source, https://github.com/VSRAJHAVEL/FlutterLaboratory
Project-URL: Bug Tracker, https://github.com/VSRAJHAVEL/FlutterLaboratory/issues
Keywords: dart,flutter,dartflutter,widgets,experiments,pypi,education
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: Education
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# 🎯 DartFlutter (`dartflutter`)

[![PyPI Version](https://img.shields.io/pypi/v/dartflutter.svg?color=blue)](https://pypi.org/project/dartflutter/)
[![Python Versions](https://img.shields.io/pypi/pyversions/dartflutter.svg)](https://pypi.org/project/dartflutter/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![GitHub Repo](https://img.shields.io/badge/GitHub-VSRAJHAVEL%2FFlutterLaboratory-blue?logo=github)](https://github.com/VSRAJHAVEL/FlutterLaboratory)

A clean, focused Python package for **Dart & Flutter Laboratory Experiments 1 to 4**.

---

## 🚀 Installation

Install from PyPI via `pip`:

```bash
pip install dartflutter
```

---

## ⚡ Streamlined CLI Commands

The package is built with 2 focused operations:

### 1️⃣ View Dart Source Code
Print or inspect the complete, ready-to-run Dart source code for any experiment (1 to 4):

```bash
# View Experiment 1 (Fresh Fruits - Widgets & Layouts)
dartflutter code 1

# View Experiment 2 (ShopEase Catalog - Responsive UI)
dartflutter code 2

# View Experiment 3 (ShopEase Store - Interactivity & Forms)
dartflutter code 3

# View Experiment 4 (Car Mileage Calculator - Form Validation)
dartflutter code 4
```

*Shortcut command:*
```bash
dartflutter-code 1
```

---

### 2️⃣ Launch Interactive Web App Directly
Launch the interactive web dashboard directly in your default browser:

```bash
# Launch interactive web app directly
dartflutter web

# Or simply run without arguments to launch directly!
dartflutter
```

*Shortcut command:*
```bash
dartflutter-web
```

---

## 📑 Covered Experiments

| Ex. No. | Title | App Name | Key Widgets |
| :---: | :--- | :--- | :--- |
| **01** | **Working with Widgets and Layouts** | Fresh Fruits | `Row`, `Column`, `Container`, `Card`, `ListView`, `ListTile` |
| **02** | **Adaptive and Responsive UI Design** | ShopEase Catalog | `LayoutBuilder`, Breakpoints (2/3/4 cols), `GridView.builder` |
| **03** | **Interactivity — Input and Forms** | ShopEase Store | `TextField`, `ChoiceChip`, `DropdownButtonFormField`, `setState()` |
| **04** | **Form Validation using Stateful Widgets** | Mileage Calculator | `Form`, `TextFormField`, `GlobalKey<FormState>`, `TextEditingController` |

---

## 🐍 Python API Usage

You can also use `dartflutter` inside your Python code:

```python
import dartflutter as df

# 1. View or get Dart code
code = df.get_code(1)
print(code)

# 2. Launch interactive web dashboard directly
df.start_server(port=8080)
```
