Skip to content

freemansoft/Flutter-AdaptiveCards

 
 

Repository files navigation

Flutter Adaptive Cards

This project is a Flutter implementation of the Adaptive Cards specification. The Adaptive Cards project was originally developed by Microsoft and is now an open source project. You can find more information about Adaptive Cards at https://adaptivecards.io/. This particular implementation is a fork of the original project that was created to add support for Flutter. This project is not affiliated with Microsoft. The project was originally created by Neohelden.

About Adaptive Cards

Adaptive Cards is a way of implementing Server Driven UI (SDUI) using a JSON based schema to deliver user interfaces specifications across platforms.

  1. See the Getting Started page for more information about this library.

The default branch has been renamed!

master is now named main

If you have a local clone, you can update it by running the following commands.

git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a

Getting Started

  1. You can view demonstrations of this implementation by running the Widgetbook
  2. The actual library is in packages/flutter_adaptive_cards_plus The changelog is in packages/flutter_adaptive_cards_plus/CHANGELOG.md
  3. Adaptive Expressions reference
  4. Adaptive Cards Template reference

Platform Support

Platform Status Notes
Android
iOS
Web
Linux Only tested on build agents
macOS
Windows Video Player not supported

Configuration via HostConfig

HostConfig is a JSON object that contains configuration options for the Adaptive Card renderer. It is used to control the appearance and behavior of the Adaptive Card renderer. It is passed to the AdaptiveCard widget as a parameter. The HostConfig is optional and if not provided, the Fallback HostConfig will be used. In cases where a partial HostConfig is provided the Fallback subgraph will be used for the missing json objects. This means you can provide a partial HostConfig and only override the Entities you want to change. All of the primitive properties in a specific HostConfig Entity are required. Fallback is at the entitiy level.

Defects

Many!

About

AdaptiveCards for Flutter 🐦

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Dart 86.5%
  • C++ 6.5%
  • CMake 4.9%
  • Python 0.7%
  • Ruby 0.6%
  • Swift 0.4%
  • Other 0.4%