SingleLine<T> constructor
const
SingleLine<T> ({
- Key? key,
- EdgeInsets? padding,
- required IconData? iconData,
- String? iconUrl,
- ValueChanged<
T> ? onDropdownChanged, - List<
DropdownMenuItem< ? dropdownItems,T> > - T? dropdownValue,
- String? centerTxt,
- TextStyle? centerTxtStyle,
- Widget? centerWidget,
- String? name,
- TextStyle? nameTxtStyle,
- Widget? nameWidget,
- Widget? leftView,
- TouchTap? onTap,
- bool rightShow = true,
- bool? isPrimary,
- String? rightTxt,
- TextStyle? rightTxtStyle,
- String? url,
- num? urlSize,
- Decoration? decoration,
- num? minHeight,
- num? iconHeight,
- num? nameLeftPadding,
- num? nameRightPadding,
- Color? backgroundColor,
- IconData? rightIconData,
- num? leftRight,
- num? topBottom,
- Widget? rightWidget,
- num? radius,
Implementation
const SingleLine({
Key? key,
this.padding,
required this.iconData,
this.iconUrl,
this.onDropdownChanged,
this.dropdownItems,
this.dropdownValue,
this.centerTxt,
this.centerTxtStyle,
this.centerWidget,
this.name,
this.nameTxtStyle,
this.nameWidget,
this.leftView,
this.onTap,
this.rightShow = true,
this.isPrimary,
this.rightTxt,
this.rightTxtStyle,
this.url,
this.urlSize,
this.decoration,
this.minHeight,
this.iconHeight,
this.nameLeftPadding,
this.nameRightPadding,
this.backgroundColor,
this.rightIconData,
this.leftRight,
this.topBottom,
this.rightWidget,
this.radius,
}) : assert(name == null || nameWidget == null),
assert(centerTxt == null || centerWidget == null),
super(key: key);