Skip to content

Commit

Permalink
Docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
xclud committed Aug 1, 2021
1 parent aae266c commit ea53dba
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions lib/src/layout_builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,19 @@ import 'package:map/map.dart';
///
/// Similar to the [LayoutBuilder] widget.
class MapLayoutBuilder extends StatelessWidget {
/// The default constructor.
const MapLayoutBuilder({
Key? key,
required this.controller,
required this.builder,
}) : super(key: key);

/// Map controller which is used in [Map].
final MapController controller;

/// Called at layout time to construct the widget tree.
///
/// The builder must not return null.
final MapLayoutWidgetBuilder builder;

@override
Expand All @@ -40,7 +46,10 @@ class MapTransformer {
}) : _width = constraints.biggest.width,
_height = constraints.biggest.height;

/// Map controller which is used in [Map].
final MapController controller;

/// Constraints of the current widget.
final BoxConstraints constraints;
final double _width;
final double _height;
Expand Down
2 changes: 1 addition & 1 deletion lib/src/vt/generated/vector_tile.pbenum.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// source: vector_tile.proto
//
// @dart = 2.12
// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields
// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields, constant_identifier_names

// ignore_for_file: UNDEFINED_SHOWN_NAME
import 'dart:core' as $core;
Expand Down
2 changes: 1 addition & 1 deletion lib/src/vt/generated/vector_tile.pbjson.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// source: vector_tile.proto
//
// @dart = 2.12
// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields,deprecated_member_use_from_same_package
// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields,deprecated_member_use_from_same_package, constant_identifier_names

import 'dart:core' as $core;
import 'dart:convert' as $convert;
Expand Down

0 comments on commit ea53dba

Please sign in to comment.