acceptCookies method
Use this in your CustomBanner
Implementation
void acceptCookies(BuildContext context) {
Cookies.create(acceptedId, 'true');
Navigator.pop(context);
}
Use this in your CustomBanner
void acceptCookies(BuildContext context) {
Cookies.create(acceptedId, 'true');
Navigator.pop(context);
}