LocalePlus allows easy access to native device locale data in Flutter apps. Includes language, country code, time zone, and number formatting preferences.
Added getting the first day of week. The values are numbered following the ISO-8601 standard, from 1 (Monday) to 7 (Sunday).
On iOS respects "First Day of Week" setting in Language & Region settings. So for default us_US locale the method returns 7 (which means Sunday). But if you select for example Wednesday as "First Day of Week" in settings the method will return 3.
Added getting the first day of week. The values are numbered following the ISO-8601 standard, from 1 (Monday) to 7 (Sunday).
On iOS respects "First Day of Week" setting in Language & Region settings. So for default us_US locale the method returns 7 (which means Sunday). But if you select for example Wednesday as "First Day of Week" in settings the method will return 3.