Loading...
Searching...
No Matches
ZoomControlsConfig Class Reference

Configuration for ZoomControls widget. Allows customization of icons, styles and layout. More...

Public Member Functions

 ZoomControlsConfig (zoomInIcon, zoomOutIcon, buttonBackgroundColor, textColor, buttonWidth, zoomControlsHeight, padding)
 

Static Public Member Functions

static ZoomControlsConfig defaultConfig ()
 

Detailed Description

Configuration for ZoomControls widget. Allows customization of icons, styles and layout.

const zoomConfig = ZoomControlsConfig(
buttonBackgroundColor: Color(0xF2FAFAFA),
textColor: Color(0xFF152D47),
buttonWidth: 48,
zoomControlsHeight: 96,
);
// ZoomControlsConfig(zoomInIcon: Icon(Icons.add), zoomOutIcon: Icon(Icons.remove))

Definition at line 9 of file zoom_controls_config.dart.

Constructor & Destructor Documentation

◆ ZoomControlsConfig()

ZoomControlsConfig.ZoomControlsConfig ( zoomInIcon ,
zoomOutIcon ,
buttonBackgroundColor ,
textColor ,
buttonWidth ,
zoomControlsHeight ,
padding  )
inline

Definition at line 10 of file zoom_controls_config.dart.

Member Function Documentation

◆ defaultConfig()

static ZoomControlsConfig ZoomControlsConfig.defaultConfig ( )
static

The documentation for this class was generated from the following file: