Fetching details from the dictionary...
aimlessly; by chance; accidentally; casually; suddenly; unexpectedly
フラットと出かけた。
I headed out on a whim.
散歩中にフラットと古本屋に入った。
I wandered into an old bookshop during my walk.
フラットと旅に出たくなることがある。
Sometimes I get the urge to just go on a trip.