You can edit 8 Components for free. Get premium for unlimited access.
A container that groups related buttons together with consistent styling.
The DLButtonDock is a customizable component designed to display one or more buttons visible on screen at all times. This allows users to quickly decide and act at any moment without having to scroll to the very end of a page.
This component inherits props from the Button Dock.
-
-
-
-
-
-
You can edit the count with the .1 or .2 parameter.
You can edit the direction with the .vertical or .horizontal parameter.
Preview
Code
DLButtonDock(
buttons: [
DLButton(
label: 'Button',
type: DLButtonType.primary,
onPressed: () {},
),
],Add this code example to your project to see how the component works.
DLButtonDock(
buttons: [
DLButton(
label: 'Button',
type: DLButtonType.primary,
onPressed: () {},
),
],Variants
Preview
Code
DLButtonDock(
buttons: [
DLButton(
label: 'Button',
type: DLButtonType.primary,
onPressed: () {},
),
DLButton(
label: 'Button',
type: DLButtonType.secondary,
onPressed: () {},
),
],
direction: Axis.vertical,
showSeparator: true,
);
Size
Preview
Code
DLButtonDock(
buttons: [
DLButton(
label: 'Button',
type: DLButtonType.secondary,
onPressed: () {},
),
DLButton(
label: 'Button',
type: DLButtonType.primary,
onPressed: () {},
),
],
direction: Axis.horizontal,
horizontalSplitEvenly: true,
showSeparator: true,
);You have questions or need help?
You want to try?
Save time and money?