national_assembly_france_hemicycle 0.3.1
national_assembly_france_hemicycle: ^0.3.1 copied to clipboard
Draw a French National Assembly. Depends on hemicycle Flutter package.
The purpose of this Flutter package dependds on hemicycle Flutter package but is specific to French National Assembly.
![]() |
![]() |
---|---|
DrawHemicycle With surrounding Group colors | DrawHemicycle Without surrounding Group colors |
Features #
You can give a local Path from your app to the JSON raw from open data (soon : URL to online JSON)... No need to reformat the JSON from Assemblee National open data website.
Usage #
Just type OpenAssembleeVoteDisplayer().DrawVoteHemicycle
and submit local JSON as a Path.
OpenAssembleeVoteDisplayer().DrawVoteHemicycle(
"assets/example_json/VTANR5L15V4417.json"),
OpenAssembleeVoteDisplayer().DrawVoteHemicycle(
"assets/example_json/VTANR5L15V4418.json",
useGroupSector: true),
OpenAssembleeVoteDisplayer().DrawVoteHemicycle(
"assets/example_json/VTANR5L15V4419.json",
useGroupSector: false),
You can choose to display or not the surrounding Arc of Group colors by submitting useGroupSector
. By default, it is set to false.
Additional information #
Further infos soon ;-)