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
Menu
Flutter Bloc Minimal List

Flutter Bloc Minimal List – 4

Posted on January 8, 2022November 29, 2023 by Toma Velev

In this post I’ll continue my previous one and go into Flutter Bloc Minimal List app/view. You could see the code here: https://github.com/tomavelev/dev_examples/tree/master/bloc/lib_bloc_minimal_list. There are not that many differences, but, here are the ones nonetheless:

Minimal List

What more minimal a list could be – a one located in the memory. I’ve stored it inside a variable of the Bloc Object. In common cases the data will be loaded incrementally by the backend or some local database. There could be even more performant implementation. I’ve seen such in Android Page Library. Instead of having an incrementally bigger list of records in memory – have in memory only the page that is displayed.

Flutter Bloc Paginated List

A key aspect of this minimal evolution of the example is – handling the Pagination with a wrapper partial data object. The Flutter rx Bloc family offer a plugin for this. I’ve used simple object like this in my own software. I’ve seen the need for this – time and time again in my career.

  • Never load more than it’s required.
  • Optimize handling big lists for performance in memory

One of the ways to archive better user experience is with Lazy loading items on scroll. I’ve written down an example in another article.

It is valid for:

  • The Database Layer,
  • Application Server Layer,
  • Visual Interface.

Obviously – keeping a list in memory is not optimal, but for the sake of the example it will be there – inside the bloc.

  • Jenkins SCP File Upload to Remote Server
  • Essential Programming Books – Principles & Flutter
  • Social Media Platforms 🌍
  • Strategies to prevent review regressions
  • How to set Google Map Theme in a Flutter App

Categories

  • Apps (22)
  • ChatGPT (23)
  • Choosing a Framework (38)
  • Flutter (269)
  • Graphical User Interface (14)
  • Marketing (117)
  • Software Development (286)
  • Spring (45)
  • StartUp (22)
  • Uncategorized (14)
  • Uncategorized (4)
  • Vaadin (15)

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 (84)
    • Flutter Apps (24)
    • 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

  • Jenkins SCP File Upload to Remote Server
  • Essential Programming Books – Principles & Flutter
  • Social Media Platforms 🌍
  • Strategies to prevent review regressions
  • How to set Google Map Theme in a Flutter App

Post Categories

  • Apps (22)
  • ChatGPT (23)
  • Choosing a Framework (38)
  • Flutter (269)
  • Graphical User Interface (14)
  • Marketing (117)
  • Software Development (286)
  • Spring (45)
  • StartUp (22)
  • Uncategorized (14)
  • Uncategorized (4)
  • Vaadin (15)