Create a simple overlay banner using an image link.

Features

You can create a simple overlay banner at the bottom of the screen.

Getting started

Import the package from pub.dev

Usage

Create a variable with the banner url and then call the showBannerOverlay method with the parameters context and the banner Url.

import 'package:flutter/material.dart';

final String bannerUrl =
      'https://www.firstsouth.com/files/firstsou19/1/image/Website%20Header%20Images/051823_FS_WebHeaderImage-CDIRA.jpg.webp';

@override
  void initState() {
    WidgetsBinding.instance
        .addPostFrameCallback((_) => showBannerOverlay(context, bannerUrl));
  }

Libraries

testpackage_banner