SubmitBar constructor

const SubmitBar({
  1. Key? key,
  2. double? price,
  3. String label = "合计:",
  4. String? suffixLabel,
  5. String textAlign = "right",
  6. String? buttonText,
  7. String? tip,
  8. IconData? tipIcon,
  9. bool disabled = false,
  10. bool loading = false,
  11. String currency = "¥",
  12. int decimalLength = 2,
  13. dynamic onSubmit()?,
  14. Widget? customTip,
  15. Widget? customTop,
  16. Widget? customLeft,
})

Implementation

const SubmitBar(
    {Key? key,
    this.price,
    this.label: "合计:",
    this.suffixLabel,
    this.textAlign: "right",
    this.buttonText,
    this.tip,
    this.tipIcon,
    this.disabled: false,
    this.loading: false,
    this.currency: "¥",
    this.decimalLength: 2,
    this.onSubmit,
    this.customTip,
    this.customTop,
    this.customLeft})
    : super(key: key);