NUIBanner constructor
const
NUIBanner({
- Key? key,
- Widget? child,
- required String message,
- TextDirection? textDirection,
- required NUIBannerLocation location,
- TextDirection? layoutDirection,
- required Color color,
- TextStyle? textStyle,
- LinearGradient? gradient,
- double height = 12,
- BoxShadow shadow = const BoxShadow(color: Colors.black12, blurRadius: 6.0),
Implementation
const NUIBanner({
Key? key,
this.child,
required this.message,
this.textDirection,
required this.location,
this.layoutDirection,
required this.color,
this.textStyle,
this.gradient,
this.height = 12,
this.shadow = const BoxShadow(
color: Colors.black12,
blurRadius: 6.0,
)
}) : assert(message != null),
assert(location != null),
assert(color != null),
assert(textStyle != null),
super(key: key);