Button constructor
const
Button({
- String? name,
- String? value,
- ButtonType? type,
- bool? disabled,
- String? form,
- String? formAction,
- FormEncType? formEncType,
- FormMethodType? formMethod,
- String? formTarget,
- bool? formNoValidate,
- Key? key,
- NullableElementCallback? ref,
- String? id,
- String? title,
- String? style,
- String? className,
- String? innerText,
- Widget? child,
- List<
Widget> ? children, - EventCallback? onClick,
- Map<
String, String> ? additionalAttributes,
Implementation
const Button({
this.name,
this.value,
this.type,
this.disabled,
this.form,
this.formAction,
this.formEncType,
this.formMethod,
this.formTarget,
this.formNoValidate,
Key? key,
NullableElementCallback? ref,
String? id,
String? title,
String? style,
String? className,
bool? hidden,
String? innerText,
Widget? child,
List<Widget>? children,
EventCallback? onClick,
Map<String, String>? additionalAttributes,
}) : super(
key: key,
ref: ref,
id: id,
title: title,
style: style,
className: className,
hidden: hidden,
innerText: innerText,
child: child,
children: children,
onClick: onClick,
additionalAttributes: additionalAttributes,
);