FutureButton constructor
const
FutureButton({
- Key? key,
- String? text,
- double? textSize = 16,
- FontWeight? textStyle,
- EdgeInsetsGeometry? textPadding,
- double? width,
- double? height,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- double borderRadius = 0,
- bool enabled = true,
- dynamic onClick()?,
- Future onExecute()?,
- IconData? icon,
- bool expended = false,
- double iconSize = 18,
- EdgeInsetsGeometry? iconPadding,
- EdgeInsetsGeometry? indicatorPadding,
- FBIconAlignment iconAlignment = FBIconAlignment.end,
- bool visibleIndicator = true,
- bool? expendedState(
- FBState state
- String? textState(
- FBState state
- IconData? iconState(
- FBState state
- Color? colorState(
- FBState state
- Color? backgroundState(
- FBState state
Implementation
const FutureButton({
super.key,
this.text,
this.textSize = 16,
this.textStyle,
this.textPadding,
this.width,
this.height,
this.margin,
this.padding,
this.borderRadius = 0,
this.enabled = true,
this.onClick,
this.onExecute,
this.icon,
this.expended = false,
this.iconSize = 18,
this.iconPadding,
this.indicatorPadding,
this.iconAlignment = FBIconAlignment.end,
this.visibleIndicator = true,
this.expendedState,
this.textState,
this.iconState,
this.colorState,
this.backgroundState,
});