A drug used to treat non-small cell lung cancer that has spread to other parts of the body. It is used in patients with certain mutations (changes) in a cell protein called epidermal growth factor receptor (EGFR). It is also being studied in the treatment of other types of cancer. Afatinib dimaleate blocks certain EGFRs, which may help keep cancer cells from growing. It may also prevent the growth of new blood vessels that tumors need to grow. Afatinib dimaleate is a type of tyrosine kinase inhibitor and a type of antiangiogenesis agent. Also called Gilotrif.