Flux modulated flat band engineering in square-kagomé ladder network