Flutter Banner widget displays a message box diagonally on the corner of its child widget.
Properties of Banner Widget:
- child: This property takes in a widget as the object to place it in the banner.
- color: This property assigns a background color to the banner by taking in the Color class as the object.
- location: This property controls the location of the banner.
- message: This property used to display text in banner.