national_assembly_france_hemicycle 0.3.7
national_assembly_france_hemicycle: ^0.3.7 copied to clipboard
Draw a French National Assembly. Depends on hemicycle Flutter package.
The purpose of this Flutter package depends on hemicycle Flutter package but is specific to French National Assembly.
![]() |
![]() |
---|---|
With surrounding Group colors | 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 ;-)