MapPicker class

Inheritance

Constructors

MapPicker({Widget searchBuilder(dynamic search(String address))?, Widget addressBuilder(String address, Function done)?, Widget? progressWidget, MPickerTheme? theme, Widget? marker})
factory

Properties

addressBuilder Widget Function(String address, Function done)?
final
controller MPickerController
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
marker Widget?
final
progressWidget Widget?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchBuilder Widget Function(dynamic search(String address))?
Same of global variables but here case you want change in a specific called
final
theme MPickerTheme
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
dispose() → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pop(dynamic context) Future
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

init({Widget searchBuilder(dynamic search(String address))?, Widget addressBuilder(String address, Function done)?, Widget? progressWidget, Widget? marker, required MPickerTheme theme, required String key}) → dynamic
It need be called before you use this lib passing the theme and the Google Maps API KEY