PluginInputBalance constructor

const PluginInputBalance({
  1. String? titleTag,
  2. Key? key,
  3. TextEditingController? inputCtrl,
  4. TokenBalanceData? balance,
  5. Map<String, Widget>? tokenIconsMap,
  6. dynamic onTokenChange(
    1. TokenBalanceData
    )?,
  7. EdgeInsetsGeometry? margin,
  8. EdgeInsetsGeometry? padding,
  9. Function? onClear,
  10. dynamic onInputChange(
    1. String
    )?,
  11. dynamic onSetMax(
    1. BigInt
    )?,
  12. bool enabled = true,
  13. Color tokenBgColor = const Color(0xFFFF7849),
  14. double getMarketPrice(
    1. String
    )?,
  15. String? tokenSelectTitle,
  16. List<TokenBalanceData?>? tokenOptions,
  17. String tokenViewFunction(
    1. String
    )?,
  18. String? text,
  19. List<TokenBalanceData?>? quickTokenOptions,
  20. InputBalanceType type = InputBalanceType.defaultType,
  21. BorderRadiusGeometry? bgBorderRadius,
  22. String? balanceLabel,
  23. bool? canSearch = true,
})

Implementation

const PluginInputBalance(
    {this.titleTag,
    Key? key,
    this.inputCtrl,
    this.balance,
    this.tokenIconsMap,
    this.onTokenChange,
    this.margin,
    this.padding,
    this.onClear,
    this.onInputChange,
    this.onSetMax,
    this.enabled = true,
    this.tokenBgColor = const Color(0xFFFF7849),
    this.getMarketPrice,
    this.tokenSelectTitle,
    this.tokenOptions,
    this.tokenViewFunction,
    this.text,
    this.quickTokenOptions,
    this.type = InputBalanceType.defaultType,
    this.bgBorderRadius,
    this.balanceLabel,
    this.canSearch = true})
    : super(key: key);