iyam_bloc 0.3.1 copy "iyam_bloc: ^0.3.1" to clipboard
iyam_bloc: ^0.3.1 copied to clipboard

Reusable and type-safe BLoC templates for Flutter apps. Provides load, pagination, and form BLoC patterns with ready-to-use widget helpers.

iyam_bloc #

iyam_bloc adalah package template BLoC untuk Flutter yang menyediakan state management boilerplate siap pakai, generic, dan reusable lintas aplikasi.

Package ini dibangun di atas:

  • bloc / flutter_bloc

Tujuan utama iyam_bloc:

  • mengurangi boilerplate BLoC
  • menyeragamkan pola load, pagination, dan form
  • menjaga arsitektur tetap bersih & type-safe

✨ Features #

🔄 Load → Success → Error #

  • BaseLoadBloc
  • State standar: initial, loading, success, error
  • Widget helper: BlocBuilderPage, BlocConsumerPage

📄 Pagination #

  • BasePaginationBloc
  • PaginationState
  • Infinite scroll support
  • Footer loading & error handling
  • Widget helper: BlocPaginationView

📝 Form Handling #

  • BaseFormBloc
  • State submit, success, error
  • Widget helper: BlocFormBuilder

🧱 Page Templates #

  • BlocBuilderPage
  • BlocConsumerPage
  • BlocScaffoldPage

📦 Installation #

pub.dev #

dependencies:
  iyam_bloc: ^0.1.0
0
likes
150
points
437
downloads

Publisher

unverified uploader

Weekly Downloads

Reusable and type-safe BLoC templates for Flutter apps. Provides load, pagination, and form BLoC patterns with ready-to-use widget helpers.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

bloc, eitherx, equatable, flutter, flutter_bloc

More

Packages that depend on iyam_bloc