PluginInputBalance constructor
const
PluginInputBalance({
- String? titleTag,
- Key? key,
- TextEditingController? inputCtrl,
- TokenBalanceData? balance,
- Map<
String, Widget> ? tokenIconsMap, - dynamic onTokenChange(
- TokenBalanceData
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- Function? onClear,
- dynamic onInputChange()?,
- dynamic onSetMax()?,
- bool enabled = true,
- Color tokenBgColor = const Color(0xFFFF7849),
- double getMarketPrice()?,
- String? tokenSelectTitle,
- List<
TokenBalanceData?> ? tokenOptions, - String tokenViewFunction()?,
- String? text,
- List<
TokenBalanceData?> ? quickTokenOptions, - InputBalanceType type = InputBalanceType.defaultType,
- BorderRadiusGeometry? bgBorderRadius,
- String? balanceLabel,
- 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);