Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit 5adafb5

Browse files
author
eightgran
committed
Add documentation
... to CollapseOnScrollActionButton
1 parent 2882e25 commit 5adafb5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

lib/src/widgets/collapse_on_scroll_action_button.dart

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ class CollapseOnScrollActionButton extends StatefulWidget
3131
/// The button's padding.
3232
final EdgeInsets padding;
3333

34-
/// States whether to blur the button's background.
34+
/// States whether to blur the button's background. If so, any box shadow
35+
/// will be ignored.
36+
///
37+
/// Defaults to `true`.
3538
final bool blurred;
3639

3740
/// The button's box shadow.
@@ -47,6 +50,9 @@ class CollapseOnScrollActionButton extends StatefulWidget
4750
/// [backgroundColor] is the button's background color.
4851
///
4952
/// [accentColor] is the button's animated accent color.
53+
///
54+
/// Disable the [blurred] flag in order to enforce the box shadow to be
55+
/// applied.
5056
const CollapseOnScrollActionButton({
5157
Key? key,
5258
required this.scrollController,

0 commit comments

Comments
 (0)