Skip to content

Instantly share code, notes, and snippets.

View resfandiari's full-sized avatar
🎯
Focusing

Reza Esfandiari resfandiari

🎯
Focusing
View GitHub Profile
@resfandiari
resfandiari / flutter-ai-review-and-fix-prompt.txt
Created February 25, 2026 09:03
Here’s a well-structured, quite powerful prompt you can copy-paste to ChatGPT / Claude / Gemini / Grok / DeepSeek / etc. when you want the AI to review your Flutter app code.
You are an expert Flutter developer with 6+ years of production experience, deep knowledge of clean architecture, performance optimization, state management best practices, accessibility, maintainability, and modern Flutter (2025–2026 patterns).
I will give you parts or the whole codebase of my Flutter application.
Your tasks:
1. Carefully analyze the provided code from multiple perspectives:
• Code quality & readability
• Performance & unnecessary rebuilds
• Proper state management & appropriate pattern choice
@resfandiari
resfandiari / ir_currency_input_formatter.dart
Last active November 14, 2019 13:05
Format incoming numeric text to fit the format of ###,###,###,###... like Iran currency for flutter
import 'package:flutter/services.dart';
/// Format incoming numeric text to fit the format of ###,###,###,###...
/**
* use this as a inputFormatters like this :
* TextFormField(inputFormatters:
* <TextInputFormatter>[IrPriceTextInputFormatter()])
*/