LdButtonFilled constructor
const
LdButtonFilled({
- required Widget child,
- required Function onPressed,
- bool autoLoading = true,
- BorderRadius? borderRadius,
- LdColorNames? color,
- bool? active,
- double? width,
- bool disabled = false,
- FocusNode? focusNode,
- MainAxisAlignment? alignment,
- Widget? leading,
- bool? circular,
- bool loading = false,
- String? loadingText,
- String? errorText,
- LdButtonMode mode = LdButtonMode.filled,
- double? progress,
- LdSize size = LdSize.m,
- Widget? trailing,
- Key? key,
Implementation
const LdButtonFilled({
required Widget child,
required Function onPressed,
bool autoLoading = true,
BorderRadius? borderRadius,
LdColorNames? color,
bool? active,
double? width,
bool disabled = false,
FocusNode? focusNode,
MainAxisAlignment? alignment,
Widget? leading,
bool? circular,
bool loading = false,
String? loadingText,
String? errorText,
LdButtonMode mode = LdButtonMode.filled,
double? progress,
LdSize size = LdSize.m,
Widget? trailing,
Key? key,
}) : super(
child: child,
onPressed: onPressed,
autoLoading: autoLoading,
borderRadius: borderRadius,
color: color,
active: active,
width: width,
disabled: disabled,
focusNode: focusNode,
alignment: alignment,
leading: leading,
circular: circular,
loading: loading,
loadingText: loadingText,
errorText: errorText,
mode: LdButtonMode.filled,
progress: progress,
size: size,
trailing: trailing,
key: key);