SimpleAttributionWidget constructor

const SimpleAttributionWidget({
  1. Key? key,
  2. required Text source,
  3. VoidCallback? onTap,
  4. Color? backgroundColor,
  5. 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);