Overriding theme is not a good solution at all. You must handle border settings through ExpansionTile interface.
ExpansionTile( shape: LinearBorder.none, ...