FlutterMap constructor

const FlutterMap({
  1. Key? key,
  2. MapController? mapController,
  3. required MapOptions options,
  4. required List<Widget> children,
  5. @Deprecated('Append all of these children to `children`. ' 'This property has been removed to simplify the way layers are inserted ' 'into the map, and allow for greater flexibility of layer positioning. ' 'This property is deprecated since v6.') List<Widget> nonRotatedChildren = const [],
})

Creates an interactive geographical map

See the properties and online documentation for more information about set-up, configuration, and usage.

Implementation

const FlutterMap({
  super.key,
  this.mapController,
  required this.options,
  required this.children,
  @Deprecated(
    'Append all of these children to `children`. '
    'This property has been removed to simplify the way layers are inserted '
    'into the map, and allow for greater flexibility of layer positioning. '
    'This property is deprecated since v6.',
  )
  this.nonRotatedChildren = const [],
});