national_assembly_france_hemicycle 0.4.8 copy "national_assembly_france_hemicycle: ^0.4.8" to clipboard
national_assembly_france_hemicycle: ^0.4.8 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.

Image Image
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 or remote JSON as a Path.

OpenAssembleeVoteDisplayer().drawVoteHemicycleFromPath(localPath:"assets/example_json/VTANR5L15V4417.json");

OpenAssembleeVoteDisplayer().drawVoteHemicycleFromPath(remotePath:"https://www.example.com/assets/example_json/VTANR5L15V4419.json");

You can choose to display or not the surrounding Arc of Group colors by submitting useGroupSector. By default, it is set to false.

OpenAssembleeVoteDisplayer().drawVoteHemicycleFromPath(localPath:"theJson.json");

OpenAssembleeVoteDisplayer().drawVoteHemicycleFromPath(localPath:"theJson.json", useGroupSector: true);

OpenAssembleeVoteDisplayer().drawVoteHemicycleFromPath(localPath:"theJson.json", useGroupSector: false);

NOTA BENE : #

Since we are introducing localPath: and remotePath:, drawVoteHemicycle is deprecated and replaced by drawVoteHemicycleFromPath.

@Deprecated('Use drawVoteHemicycleFromPath instead')
OpenAssembleeVoteDisplayer().drawVoteHemicycle("assets/example_json/VTANR5L15V4417.json");

OpenAssembleeVoteDisplayer().drawVoteHemicycleFromPath(localPath:"assets/example_json/VTANR5L15V4417.json");

Additional information #

Further infos soon ;-)

0
likes
0
pub points
22%
popularity

Publisher

verified publisher1-2-7-8.software

Draw a French National Assembly. Depends on hemicycle Flutter package.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, flutter_web_plugins, hemicycle, http

More

Packages that depend on national_assembly_france_hemicycle