ZoomControlsTheme constructor
const
ZoomControlsTheme({
- double width = 128.0,
- double height = 32.0,
- BorderRadius borderRadius = const BorderRadius.all(Radius.circular(3.0)),
- List<
BoxShadow> shadow = const [BoxShadow(blurRadius: 2.0, color: Color.fromRGBO(0, 0, 0, 0.25), offset: Offset(0.0, 1.0))], - EdgeInsets padding = const EdgeInsets.all(3.5),
- double buttonRowWidth = 64.0,
- Icon zoomOutIcon = const Icon(Icons.zoom_out),
- Icon zoomInIcon = const Icon(Icons.zoom_in),
- double distanceToBorder = 8.0,
- Alignment alignment = Alignment.bottomCenter,
Implementation
const ZoomControlsTheme({
this.width = 128.0,
this.height = 32.0,
this.borderRadius = const BorderRadius.all(
Radius.circular(3.0),
),
this.shadow = const [
BoxShadow(
blurRadius: 2.0,
color: Color.fromRGBO(0, 0, 0, 0.25),
offset: Offset(0.0, 1.0),
),
],
this.padding = const EdgeInsets.all(3.5),
this.buttonRowWidth = 64.0,
this.zoomOutIcon = const Icon(Icons.zoom_out),
this.zoomInIcon = const Icon(Icons.zoom_in),
this.distanceToBorder = 8.0,
this.alignment = Alignment.bottomCenter,
});