SplitButtonDefaults
Contains default values used by SplitButtonLayout and its style variants.
Properties
The default height for an extra large button container.
Default extra large size for the leading button end corners and trailing button start corners
Default extra large size for the leading button end corners and trailing button start corners when pressed
Default content padding of the extra large leading button
Default content padding of the extra large trailing button
The default size of the icon used inside of an extra large trailing button of a split button.
The default height for an extra small button container.
Default extra small size for the leading button end corners and trailing button start corners
Default extra small size for the leading button end corners and trailing button start corners when pressed
Default content padding of the extra small leading button
Default content padding of the extra small trailing button
The default size of the icon used inside of an extra small trailing button of a split button.
The default height for a large button container.
Default large size for the leading button end corners and trailing button start corners
Default large size for the leading button end corners and trailing button start corners when pressed
Default content padding of the large leading button
Default content padding of the large trailing button
The default size of the icon used inside of an large trailing button of a split button.
Default icon size for the leading button
The default height for a medium button container.
Default medium size for the leading button end corners and trailing button start corners
Default medium size for the leading button end corners and trailing button start corners when pressed
Default content padding of the medium leading button
Default content padding of the medium trailing button
The default size of the icon used inside of an medium trailing button of a split button.
Default percentage size for the leading button start corners and trailing button end corners
Default minimum height of the split button. This applies to both LeadingButton and TrailingButton. Applies to all 4 variants of the split button
Default small size for the leading button end corners and trailing button start corners
Default small size for the leading button end corners and trailing button start corners when pressed
Default content padding of the small leading button
Default content padding of the small trailing button
The default size of the icon used inside of an small trailing button of a split button.
Default icon size for the trailing button
Functions
Create a elevated leading button that has the same visual as a ElevatedButton. To create a filled, outlined, or elevated version, the default value of Button params can be passed in. For example, ElevatedButton.
Creates a elevated trailing button that has the same visual as a ElevatedButton. When checked is updated from false to true, the buttons corners will morph to full by default. Pressed shape and checked shape can be customized via shapes param.
Create a default leading button that has the same visual as a FilledButton. To create a tonal, outlined, or elevated version, the default value of Button params can be passed in. For example, ElevatedButton.
Recommended PaddingValues for a provided leading button height.
Recommended leading button Icon size for a provided button height.
Recommended leading button SplitButtonShapes for a provided leading button height.
Create a elevated leading button that has the same visual as a ElevatedButton. To create a filled, outlined, or elevated version, the default value of Button params can be passed in. For example, ElevatedButton.
Creates a outlined trailing button that has the same visual as a OutlinedButton. When checked is updated from false to true, the buttons corners will morph to full by default. Pressed shape and checked shape can be customized via shapes param.
Create a tonal leading button that has the same visual as a TonalButton. To create a filled, outlined, or elevated version, the default value of Button params can be passed in. For example, ElevatedButton.
Creates a tonal trailing button that has the same visual as a FilledTonalButton. When checked is updated from false to true, the buttons corners will morph to full by default. Pressed shape and checked shape can be customized via shapes param.
Creates a trailing button that has the same visual as a Button.
Recommended PaddingValues for a provided trailing button height.
Recommended trailing button Icon size for a provided button height.
Recommended trailing button SplitButtonShapes for a provided trailing button height.