TDLoading constructor
const
TDLoading({
- Key? key,
- required TDLoadingSize size,
- TDLoadingIcon? icon,
- Color? iconColor,
- Axis axis = Axis.vertical,
- String? text,
- Widget? refreshWidget,
- Widget? customIcon,
- Color textColor = Colors.black,
- int duration = 2000,
Implementation
const TDLoading({
Key? key,
required this.size,
this.icon,
this.iconColor,
this.axis = Axis.vertical,
this.text,
this.refreshWidget,
this.customIcon,
this.textColor = Colors.black,
this.duration = 2000,
}) : super(key: key);