fluttercommunity / fluttercommunity/flutter_sticky_headers
Can not add tap event handler on header, if content is SizedBox.shrink()
- Dominant language
- Dart
- Stars
- 1.2k
- Forks
- 130
- PR merge metrics
- No merged PRs in 30d
Description
```dart
StickyHeader(
header: Tappable(
child: Container(
height: appThemeData.mainPadding * 2.5,
padding: EdgeInsets.symmetric(
horizontal: appThemeData.mainPadding,
vertical: appThemeData.halfPadding,
),
color: Colors.white,
width: double.infinity,
child: Text(title.toUpperCase(), style: textStyle),
),
onTap: () {
print('StickyHeader - Tappable.onTap()');
},
),
content: SizedBox.shrink(),
)
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.