Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add margin for float button aka MapFabs #163

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

wgcv
Copy link

@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