form function

Element form(
  1. List<Object?> children, {
  2. required String action,
  3. String method = 'POST',
  4. String? classes,
  5. Map<String, Object?> attributes = const {},
})

Implementation

Element form(
  List<Object?> children, {
  required String action,
  String method = 'POST',
  String? classes,
  Map<String, Object?> attributes = const {},
}) => _tag('form', children, null, classes, {
  'action': action,
  'method': method,
  ...attributes,
});