UpLoadingButton constructor
const
UpLoadingButton({
- Key? key,
- required String text,
- bool isLoading = false,
- bool isSuccess = false,
- bool isError = false,
- required Function onPress,
- UpColorType? colorType,
- bool? isButtonDisable = false,
- bool isRounded = false,
- double roundedBorderRadius = 18,
- Color borderColor = Colors.transparent,
- double borderWidth = 1,
Implementation
const UpLoadingButton({
Key? key,
required this.text,
this.isLoading = false,
this.isSuccess = false,
this.isError = false,
required this.onPress,
this.colorType,
this.isButtonDisable = false,
this.isRounded = false,
this.roundedBorderRadius = 18,
this.borderColor = Colors.transparent,
this.borderWidth = 1,
}) : super(key: key);