notification_listview 1.0.0+3 notification_listview: ^1.0.0+3 copied to clipboard
This package is for Hyundai Auto Ever internship assignments.
Notification ListView
Features #
This package is for Hyundai AutoEver internship assignments.
This list view is optimized for the notification type used in the Hyundai AutoEver project.
Usage #
Scaffold(
body: NotificationListView(
hasHeader: true,
onTapSearch: () {}, //nullable
onTapAll: () {},
onTapAlert: () {},
onTapNormal: () {},
onTapChatting: () {},
selectedType: null, // for header button color
isSearching: false, // for button color
itemCount: 7,
itemBuilder: (context, int i) => NotiListViewTile(
isFirst: (i == 0) ? true : false, // for top margin
isNew: true, // for badge
title: "title",
content: "content",
notiTileType: notiTileType.normal,
),
),
);
Showcase #
Additional information #
NotificationListView is the same as listview.builder except for the header related properties.