Posts

🚀 ক্লিন কোড = বেটার কোড

Flutter অ্যাপ ডেভেলপ করার সময় আমরা অনেক সময় বিভিন্ন ফাইলে unused imports রেখে দেই। এগুলো অ্যাপ ক্র্যাশ করায় না, কিন্তু কোডবেসকে অগোছালো করে ফেলে এবং মেইনটেইন করা কঠিন হয়ে যায়। একটা একটা করে ম্যানুয়ালি রিমুভ করার বদলে, Dart আমাদের একটা দারুণ কমান্ড দিয়েছে 👇 প্রজেক্ট রুটে এই কমান্ডটা রান করুন: dart fix --apply ✨ এটা আপনার পুরো প্রজেক্ট স্ক্যান করে স্বয়ংক্রিয়ভাবে— 🧹 Unused imports রিমুভ করবে 🔧 Dart analyzer যে safe fixes সাজেস্ট করে সেগুলো apply করবে ⚡ কোডবেসকে পরিষ্কার ও অপ্টিমাইজ করবে ছোট্ট একটা স্টেপ হলেও, এটা আপনার কোডের readability, maintainability, আর professionalism অনেক বাড়িয়ে দেবে। 👉 তাই পরের বার কোড push করার আগে এই কমান্ডটা চালান আর শিপ করুন একদম ক্লিন প্রজেক্ট! ✅

Learning basics for Backend Developer | build setup

Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md           https://gist.github.com/n1snt/454b879b8f0b7995740ae04c5fb5b7df              2.https://cloud.digitalocean.com/projects                  3.http://api.bponi.test:8081/hack/en/x 4. http://tableplus.com/download/ 5.https://crates.io/crates/sccache 6.https://doc.rust-lang.org/cargo/getting-started/installation.html 7.https://www.rust-lang.org/tools/install

kids challenge ui

Image
  import 'package:flutter/material.dart' ; import 'package:flutter_screenutil/flutter_screenutil.dart' ; import 'package:google_fonts/google_fonts.dart' ; class KidsChallengeScreen extends StatelessWidget { const KidsChallengeScreen ({ super . key }); @ override Widget build ( BuildContext context ) { return ScreenUtilInit ( designSize : const Size ( 375 , 812 ), builder : ( context , child ) => Scaffold ( backgroundColor : const Color ( 0xFFE3F2FD ), body : SafeArea ( child : Padding ( padding : EdgeInsets . symmetric ( horizontal : 20 . w ), child : Column ( crossAxisAlignment : CrossAxisAlignment . start , children : [ SizedBox ( height : 16 . h ), // Greeting Row Row ( mainAxisAlignment : MainAxisAlignment . spaceBetween , children : [ ...

Reusing the same animation within your app

Image
 

flutter animation

 import 'package:flutter/material.dart'; import 'dart:async'; // Import for Timer class HomePage extends StatefulWidget {   const HomePage({Key? key}) : super(key: key);   @override   _HomePageState createState() => _HomePageState(); } class _HomePageState extends State<HomePage> {   List<ScrollController> _scrollControllers = [];   List<ScrollController> _fruitScrollControllers = [];   List<Timer?> _timers = [];   @override   void initState() {     super.initState();     _initScrollControllers();     _startScrolling();   }   void _initScrollControllers() {     for (int i = 0; i < 2; i++) {       _scrollControllers.add(ScrollController());       _fruitScrollControllers.add(ScrollController());     }   }   void _startScrolling() {     for (int i = 0; i < _scrollControllers.length; i++) {     ...

free islamic api

 https://islamicapi.com/doc/

🚀 𝗛𝗼𝘄 𝗜 𝗥𝗲𝗱𝘂𝗰𝗲 𝗙𝗹𝘂𝘁𝘁𝗲𝗿 𝗔𝗽𝗽 𝗦𝗶𝘇𝗲 𝗪𝗶𝘁𝗵𝗼𝘂𝘁 𝗖𝗼𝗺𝗽𝗿𝗼𝗺𝗶𝘀𝗶𝗻𝗴 𝗙𝗲𝗮𝘁𝘂𝗿𝗲𝘀

  ✅ 𝟭. 𝗥𝗲𝗺𝗼𝘃𝗲 𝗨𝗻𝘂𝘀𝗲𝗱 𝗗𝗲𝗽𝗲𝗻𝗱𝗲𝗻𝗰𝗶𝗲𝘀 Keep your pubspec.yaml clean. Use pub remove, and audit packages that add weight (e.g. http, firebase_analytics, image_picker). ✅ 𝟮. 𝗦𝗽𝗹𝗶𝘁 𝗽𝗲𝗿 𝗔𝗕𝗜 (𝗔𝗻𝗱𝗿𝗼𝗶𝗱 𝗼𝗻𝗹𝘆) Generate separate builds for armeabi-v7a, arm64-v8a, and x86_64. Saves up to 30–50% in size compared to a fat APK. ✅ 𝟯. 𝗨𝘀𝗲 --𝘀𝗽𝗹𝗶𝘁-𝗱𝗲𝗯𝘂𝗴-𝗶𝗻𝗳𝗼 When building for release, always use: 𝘧𝘭𝘶𝘵𝘵𝘦𝘳 𝘣𝘶𝘪𝘭𝘥 𝘢𝘱𝘬 --𝘴𝘱𝘭𝘪𝘵-𝘥𝘦𝘣𝘶𝘨-𝘪𝘯𝘧𝘰=𝘣𝘶𝘪𝘭𝘥/𝘥𝘦𝘣𝘶𝘨-𝘪𝘯𝘧𝘰 It strips debug symbols and makes crash logs still readable with stack trace deobfuscation. ✅ 𝟰. 𝗖𝗼𝗺𝗽𝗿𝗲𝘀𝘀 & 𝗢𝗽𝘁𝗶𝗺𝗶𝘇𝗲 𝗔𝘀𝘀𝗲𝘁𝘀 Convert PNGs to WebP, compress images, remove oversized fonts, and lazy-load animations. ✅ 𝟱. 𝗠𝗶𝗻𝗶𝗺𝗶𝘇𝗲 𝗣𝗮𝗰𝗸𝗮𝗴𝗲 𝗨𝘀𝗲 Do you really need a full package just for one button or animation? Sometimes custom code is lighter and cleaner. ✅ 𝟲. 𝗔𝘃𝗼𝗶𝗱 𝗨𝗻𝘂𝘀𝗲𝗱 𝗜𝗰𝗼𝗻𝘀/𝗙𝗼𝗻𝘁𝘀 Icon...