Skip to content

Commit 01cf2c8

Browse files
committed
added comments
1 parent 354639c commit 01cf2c8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

example/lib/main_temp.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ class _MyHomePageState extends State<MyHomePage>
182182
itemBuilder: (context, index) => GFStickyHeader(
183183
enableHeaderOverlap: true,
184184
direction: Axis.vertical,
185-
// stickyContentPosition: GFPosition.end,
185+
stickyContentPosition: GFPosition.end,
186186
stickyContent: Container(
187187
// alignment: AlignmentDirectional.centerEnd,
188188
child: Container(
@@ -201,7 +201,7 @@ class _MyHomePageState extends State<MyHomePage>
201201
// height: 100,
202202
width: 200,
203203
child: Image.network(imageList[index],
204-
fit: BoxFit.cover, height: 200,
204+
fit: BoxFit.cover, height: 100,
205205
),
206206
),
207207
)

lib/components/sticky_header/render_gf_sticky_header.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ class RenderGFStickyHeader extends RenderBox
3434
final ScrollableState _scrollable;
3535
final bool _enableHeaderOverlap;
3636
final GFPosition _stickyContentPosition;
37-
// double _overflow;
3837

3938
Axis get direction => _direction;
4039
Axis _direction;

0 commit comments

Comments
 (0)