Skip to content

flarebyte/message_copperframe

Repository files navigation

message_copperframe

Experimental

Delivering impactful messages to your dashboard

Manages a list of message objects and notifies listeners when the message list changes. This is useful for maintaining reactive state in Flutter applications, ensuring UI components can respond to message updates efficiently.

Hero image for message_copperframe

Highlights:

  • Reactive Updates which notifies listeners when the message list changes, enabling efficient UI updates.

  • Immutable State Checks that compares old and new messages to avoid unnecessary notifications.

  • Easy Integration which works seamlessly with Flutter's ChangeNotifier for state management.

A few examples:

Create a message holder:

final CopperframeMessagesHolder holder = CopperframeMessagesHolder();

Create a message:

final  infoMessage  =  CopperframeMessage(  label:  'This  is  an  info
message',  level:  CopperframeMessageLevel.info,  category:  'usage',  );

Update the message holder and notify:

holder.messages = [infoMessage]

Documentation and links

Related

About

Delivering impactful messages to your dashboard

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages