SimpleAttributionWidget constructor
const
SimpleAttributionWidget({
- Key? key,
- required Text source,
- VoidCallback? onTap,
- Color? backgroundColor,
- Alignment alignment = Alignment.bottomRight,
A simple, classic style, attribution widget, to be placed in FlutterMap.nonRotatedChildren
Displayed as a padded translucent white box with the following text: 'flutter_map | © source'.
Implementation
const SimpleAttributionWidget({
Key? key,
required this.source,
this.onTap,
this.backgroundColor,
this.alignment = Alignment.bottomRight,
}) : super(key: key);