form function

Element form(
  1. dynamic children, {
  2. String? action,
  3. String? method,
  4. String? id,
  5. String? className,
  6. Map<String, dynamic>? attributes,
})

Implementation

Element form(
  dynamic children, {
  String? action,
  String? method,
  String? id,
  String? className,
  Map<String, dynamic>? attributes,
}) => _el(
  'form',
  children,
  id: id,
  className: className,
  attributes: {'action': action, 'method': method, ...?attributes},
);