drawVoteHemicycleFromAppSupport method
Widget
drawVoteHemicycleFromAppSupport({
- required ScrutinFromJson vote,
- Color? backgroundColor,
- List<
DeputesFromCsv> ? allDeputes,
Creates a widget with French National Assembly view defined by these parameters :
• vote
receives a ScrutinFromJson that needs to be displayed.
• backgroundColor
is used to fill the Drawing area with a plain background color
Implementation
Widget drawVoteHemicycleFromAppSupport(
{required ScrutinFromJson vote,
Color? backgroundColor,
List<DeputesFromCsv>? allDeputes}) {
return drawVoteHemicycleFromPath(
downloaded: vote,
useGroupSector: true,
hiliteFronde: false,
backgroundColor: backgroundColor,
allDeputes: allDeputes);
}