BannerPainter constructor
- required String message,
- required TextDirection textDirection,
- required BannerLocation location,
- required TextDirection layoutDirection,
- Color color = _kColor,
- TextStyle textStyle = _kTextStyle,
- BoxShadow shadow = _kShadow,
Creates a banner painter.
Implementation
BannerPainter({
required this.message,
required this.textDirection,
required this.location,
required this.layoutDirection,
this.color = _kColor,
this.textStyle = _kTextStyle,
this.shadow = _kShadow,
}) : super(repaint: PaintingBinding.instance.systemFonts) {
assert(debugMaybeDispatchCreated('widgets', 'BannerPainter', this));
}