baseSizeAdjustment property
The base adjustment in logical pixels of the visual density of UI components.
The input density values are multiplied by a constant to arrive at a base size adjustment that fits Material Design guidelines.
Individual components may adjust this value based upon their own individual interpretation of density.
Implementation
Offset get baseSizeAdjustment {
// The number of logical pixels represented by an increase or decrease in
// density by one. The Material Design guidelines say to increment/decrement
// sizes in terms of four pixel increments.
const double interval = 4.0;
return Offset(horizontal, vertical) * interval;
}