Skip to content

Add margin for float button aka MapFabs#163

Open
wgcv wants to merge 3 commits intohumazed:masterfrom
wgcv:wgcv-add-buttonMargin
Open

Add margin for float button aka MapFabs#163
wgcv wants to merge 3 commits intohumazed:masterfrom
wgcv:wgcv-add-buttonMargin

Conversation

@wgcv
Copy link
Copy Markdown

@wgcv wgcv commented May 28, 2021

Add custom margin because some time overlap in the search textbox in the issue #88

LocationResult result = await showLocationPicker(
      context,
      "AIzaSyAfss1BCW8g4DtoLZF7vh_Xzz7AJJ5qzuc",
      initialCenter: LatLng(0, 0),
      automaticallyAnimateToCurrentLocation: true,
      myLocationButtonEnabled: true,
      requiredGPS: true,
      layersButtonEnabled: true,
      resultCardAlignment: Alignment.bottomCenter,
      desiredAccuracy: LocationAccuracy.best,
// custom buttonMargin
      buttonMargin: EdgeInsets.only(top: 150, right: 8),
    );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant