Responsive constructor
Responsive({})
Creates a new Responsive instance.
The optional parameters fontSizeRelativeToScreen
, iconsSizeRelativeToScreen
,
and buttonsSizeRelativeToScreen
specify the relative size of fonts,
icons, and buttons, respectively, as a percentage of the screen size. The
optional parameters maxFontSize
, maxIconsSize
, and maxButtonsSize
specify the maximum size of fonts, icons, and buttons, respectively.
Implementation
Responsive({
this.fontSizeRelativeToScreen = 2.5,
this.maxFontSize = 16,
this.iconsSizeRelativeToScreen = 7,
this.maxIconsSize = 60,
this.buttonsSizeRelativeToScreen = 8,
this.maxButtonsSize = 60,
});