AttributionWidget constructor
const
AttributionWidget({
- Key? key,
- required WidgetBuilder attributionBuilder,
- Alignment alignment = Alignment.bottomRight,
Attribution widget layer, usually placed in nonRotatedChildren
Can be anchored in a position of the map using alignment
, defaulting to Alignment.bottomRight. Then pass attributionBuilder
to build your custom attribution widget.
Alternatively, use the constructor defaultWidget to get a more classic styled attibution box.
Implementation
const AttributionWidget({
Key? key,
required this.attributionBuilder,
this.alignment = Alignment.bottomRight,
}) : super(key: key);