A state minister has resigned after months of scrutiny over her performance in the domestic and family violence portfolio.