ToggleButtonDefaults
Contains the default values for all five toggle button types.
Properties
The default checked shape for ToggleButton
The default content padding used by all toggle buttons.
The default checked square shape for a extra large toggle button
The default pressed shape for a extra large toggle button
The default square shape for a extra large toggle button
The default checked square shape for a extra small toggle button
The default pressed shape for a extra small toggle button
The default square shape for a extra small toggle button
The default size of the spacing between an icon and a text when they used inside any toggle button.
The default checked square shape for a large toggle button
The default pressed shape for a large toggle button
The default square shape for a large toggle button
The default checked square shape for a medium toggle button
The default pressed shape for a medium toggle button
The default square shape for a medium toggle button
The default pressed shape for ToggleButton
A round shape that can be used for all ToggleButtons and its variants
The default unchecked shape for ToggleButton
A square shape that can be used for all ToggleButtons and its variants
Functions
Creates a ToggleButtonColors that represents the default container and content colors used in a ElevatedToggleButton.
Creates a ToggleButtonColors that represents the default container and content colors used in a OutlinedToggleButton.
Creates a ToggleButtonShapes that represents the default shape, pressedShape, and checkedShape used in a ToggleButton.
Creates a ToggleButtonShapes that represents the default shape, pressedShape, and checkedShape used in a ToggleButton and its variants.
Recommended ToggleButtonShapes for a provided toggle button height.
Creates a ToggleButtonColors that represents the default container and content colors used in a ToggleButton.
Creates a ToggleButtonColors that represents the default container and content colors used in a TonalToggleButton.