NsgDropdownMenuItem constructor
const
NsgDropdownMenuItem({
- Key? key,
- required String text,
- Color? backColor,
- double? width,
- IconData? iconLeft,
- IconData? iconRight,
- Color? color,
- double? rotateAngle,
- int? value,
- TextStyle textStyle = const TextStyle(color: Colors.white, fontSize: 16),
- String? svgLeft,
- TextAlign? textAlign,
- MainAxisAlignment? mainAxisAlignment,
Implementation
const NsgDropdownMenuItem({
super.key,
required this.text,
this.backColor,
this.width,
this.iconLeft,
this.iconRight,
this.color,
this.rotateAngle,
this.value,
this.textStyle = const TextStyle(color: Colors.white, fontSize: 16),
this.svgLeft,
this.textAlign,
this.mainAxisAlignment,
});