Compass constructor

const Compass({
  1. required GeoViewController controllerProvider(),
  2. Key? key,
  3. bool automaticallyHides = true,
  4. Alignment alignment = Alignment.topRight,
  5. EdgeInsets padding = const EdgeInsets.all(10),
  6. double size = 50,
  7. Widget iconBuilder(
    1. BuildContext context,
    2. double size,
    3. double angleRadians
    )?,
})

Create a Compass widget.

Implementation

const Compass({
  required this.controllerProvider,
  super.key,
  this.automaticallyHides = true,
  this.alignment = Alignment.topRight,
  this.padding = const EdgeInsets.all(10),
  this.size = 50,
  this.iconBuilder,
});