Skip to content

Software Development at Program Tom LTD

Place for coding, programming, development and software in general.

Menu
  • Blog
  • PDF Booklets
  • Dev Utils & Content
  • Java Spring Boot Or Web Apps
  • English
    • български
    • English
    • Español
    • Português
    • हिन्दी
    • Русский
    • Deutsch
    • Français
    • Italiano
    • العربية
  • About Us
  • Flutter Apps
Menu

Author: Toma Velev

Blogger on ProgramTom.Com/Dev
Flutter Back Button Navigation Handling

Flutter Back Button Navigation Handling

Posted on April 27, 2025May 10, 2025 by Toma Velev

Imagine the scenario in a Flutter app with go_router for navigation, a bottom navigation bar (say, Home, Search, Profile, etc.) and you want to handle Back button behavior smartly: If you are on another tab (e.g., Search, Profile), pressing back should switch back to the initial tab (e.g., Home). If you are already on the initial…

Read more
Restart Flutter App Programmatically

How to Restart Flutter App Programatically

Posted on April 27, 2025May 10, 2025 by Toma Velev

To programmatically Restart a Flutter app, you can’t directly “restart” the whole app like you would restart an Android/iOS process, but you can simulate a restart by rebuilding the widget tree from the root. Here’s the most common approach using a custom RestartWidget: ✅ Step-by-step solution 1. Create a RestartWidget wrapper import ‘package:flutter/material.dart’; class RestartWidget…

Read more
In Flutter - How to Programmatically Trigger Fatal Crash

In Flutter – How to Programmatically Trigger Fatal Crash

Posted on April 27, 2025May 10, 2025 by Toma Velev

This is how you programmatically trigger a fatal crash in Flutter, maybe for testing crash reporting (like Sentry, Firebase Crashlytics, etc.), etc. Here’s a simple way to cause a fatal crash in Flutter: void triggerFatalCrash() { Future.delayed(Duration.zero, () { throw StateError(‘This is a fatal crash triggered manually.’); }); } How this works: Future.delayed(Duration.zero, …) puts…

Read more
In Flutter - how to have a text with a Hyperlink

In Flutter – how to have a text with a Hyperlink

Posted on April 27, 2025May 10, 2025 by Toma Velev

In Flutter, if you want a text with a clickable hyperlink inside it, you typically use a RichText widget with a TextSpan, and you add a gesture recognizer to detect taps. Here’s a simple example: import ‘package:flutter/gestures.dart’; import ‘package:flutter/material.dart’; class HyperlinkTextExample extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: Text(‘Hyperlink in…

Read more
Flutter image caching issue

Flutter image caching issue

Posted on April 23, 2025May 10, 2025 by Toma Velev

If your ListView in Flutter is caching images (e.g., with the fast_cached_network_image package), and you’re observing that image fields do not update even though other fields in the list items do, it’s likely due to caching behavior or widget tree reuse. Here are a few possible causes and how to address them: 1. Image URL…

Read more
Lazy Loading with ScrollController in Flutter

Lazy Loading with ScrollController in Flutter

Posted on April 23, 2025May 10, 2025 by Toma Velev

To implement Lazy Loading (also called infinite scrolling) in your Flutter widget using a ScrollController, you need to listen to scroll events and detect when the user is near the bottom of the list. At that point, you trigger loading more data. Here’s a complete example pattern you can integrate into your widget: ✅ 1….

Read more
Offset of type Long in Java Object Relational Mapping Frameworks

Offset of type Long in Java Object Relational Mapping Frameworks

Posted on April 23, 2025May 10, 2025 by Toma Velev

To this day amazes me that all Java Object Relational Mapping Frameworks use 32bit Integer as parameter to the offset you could pass to the database. Spring’s Pageable uses int internally — so it cannot handle offsets beyond Integer.MAX_VALUE. (JPA API also expects int for offset and limit. https://docs.oracle.com/javaee/5/api/javax/persistence/Query.html#setFirstResult(int) Hibrnate https://docs.jboss.org/hibernate/orm/6.6/javadocs/org/hibernate/query/Page.html#page(int,int) 🔍 Breakdown: 1. Pageable…

Read more
What does Scalable Flutter Mobile App really means?

What does Scalable Flutter Mobile App really means?

Posted on April 19, 2025May 10, 2025 by Toma Velev

A Scalable Flutter Mobile App is one that can handle increased demand—like more users, more data, or more features—without breaking down or slowing down significantly. Scalability means your app continues to perform well as it grows. Here are a few dimensions of scalability in mobile apps: 🔼 1. User Load Scalability Can your app serve…

Read more
What are some tools in flutter to archive development and delivery speed

What are some tools in flutter to archive development and delivery speed

Posted on April 19, 2025May 10, 2025 by Toma Velev

Flutter has a powerful ecosystem designed to supercharge your development and delivery speed. Whether you’re building solo or working with a team, here are the top tools and practices that will help you ship faster and smarter: 🚀 Tools & Techniques to Speed Up Flutter Development & Delivery 🔁 1. Hot Reload & Hot Restart…

Read more
How Flutter handles User Load Scalability

How Flutter handles User Load Scalability

Posted on April 19, 2025May 10, 2025 by Toma Velev

Flutter has User Load Scalability—especially since Flutter itself is a frontend framework, and most of the heavy lifting (load handling) typically happens on the backend. But Flutter still plays a big role in the overall scalability experience. ⚙️ 1. Flutter & User Load Scalability ✅ What Flutter handles well: a. Efficient Rendering Engine (Skia) Flutter’s…

Read more

Posts pagination

  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • …
  • 56
  • Next
  • What are ways to Optimize the backend endpoints in Spring Boot
  • Flutter image flickers
  • Could a Flutter App save a Flag even after uninstall
  • Could iOS flutter app logs be viewed while running in release mode – started after previous closed state
  • 6 Addictive Mobile Game Ideas Inspired by Flappy Bird’s Simplicity

Categories

  • Apps (20)
  • ChatGPT (19)
  • Choosing a Framework (38)
  • Flutter (206)
  • Graphical User Interface (13)
  • Marketing (114)
  • Software Development (270)
  • Spring (43)
  • StartUp (21)
  • Uncategorized (4)
  • Uncategorized (15)
  • Vaadin (14)

Tags

Algorithms (9) crypto (29) flutterdev (39) General (86) Java (7) QR & Bar Codes (3) Software Dev Choices (33) Spring Boot (1) standards (1) Theme (3) User Authentication & Authorization (9) User Experience (10) Utilities (19) WordPress (11)

Product categories

  • All Technologies (83)
    • Flutter Apps (23)
    • GPT (4)
    • Java (38)
    • Native Android (3)
    • PHP (9)
    • Spring (Boot) / Quarkus (35)
    • Utils (15)
    • Vaadin 24+ (27)
    • Vaadin 8 (1)
  • Apps (18)
    • Employees DB (1)
    • Notes (6)
    • Personal Budget (1)
    • Recipes Book (1)
    • Stuff Organizer (1)
    • To-Do (2)
  • PDF Books (3)
  • Source Code Generators (8)

Recent Posts

  • What are ways to Optimize the backend endpoints in Spring Boot
  • Flutter image flickers
  • Could a Flutter App save a Flag even after uninstall
  • Could iOS flutter app logs be viewed while running in release mode – started after previous closed state
  • 6 Addictive Mobile Game Ideas Inspired by Flappy Bird’s Simplicity

Post Categories

  • Apps (20)
  • ChatGPT (19)
  • Choosing a Framework (38)
  • Flutter (206)
  • Graphical User Interface (13)
  • Marketing (114)
  • Software Development (270)
  • Spring (43)
  • StartUp (21)
  • Uncategorized (4)
  • Uncategorized (15)
  • Vaadin (14)