The state government ordered the national flag flown at half-mast across all official buildings after the minister suffered a fatal cardiac arrest.