kMiniButtonOffsetAdjustment top-level constant

double const kMiniButtonOffsetAdjustment

If a FloatingActionButton is used on a Scaffold in certain positions, it is moved kMiniButtonOffsetAdjustment pixels closer to the edge of the screen.

This is intended to be used with FloatingActionButton.mini set to true, so that the floating action button appears to align with CircleAvatars in the ListTile.leading slot of a ListTile in a ListView in the Scaffold.body.

More specifically:

Implementation

const double kMiniButtonOffsetAdjustment = 4.0;