DirectLinkField constructor

const DirectLinkField(
  1. ChatDirectLink? link, {
  2. Key? key,
  3. FutureOr<void> onSubmit(
    1. ChatDirectLinkSlug?
    )?,
  4. Uint8List? background,
})

Implementation

const DirectLinkField(this.link, {super.key, this.onSubmit, this.background});