ethio_date_picker library
Classes
- AddFirstValueState
- State emitted when the first date of a range is added.
- AddInitialValue
- AddSecondValue
- AddSecondValueState
- State emitted when the second date of a range is added.
- AddSingleValues
- Event to add a single date selection.
- AlertIntialEvent
- CalenderByYear
- Event to navigate to a specific year.
- CurrentDayCalendar
- DatePickerBloc
- DatePickerEvent
- Base class for all date picker events.
- DatePickerInitial
- The initial state of the date picker.
- DatePickerState
- Base class for all date picker states.
- EnglishDatePickerStrings
- English (Latin) localized strings for the date picker.
- EnglishTimePickerStrings
- English time picker strings
- EthiopianDatePicker
- A customizable Ethiopian Date Picker widget that supports both Ethiopian and Gregorian calendars.
- EthiopianDatePickerStrings
- Ethiopian calendar (Amharic) localized strings for the date picker.
- EthiopianDateTimePicker
- A customizable Ethiopian DateTime Picker widget with 12-hour Ethiopian time.
- EthiopianTime
- Represents Ethiopian time in 12-hour format with 4 periods
- EthiopianTimePickerStrings
- Ethiopian time picker strings (Amharic)
- GetDayName
- GetFirstValue
- GetSecondValueEvent
- GetSelectedIndex
- GetSelectedValuesEvent
- GetYearList
- GetYearsListState
- State emitted when the list of years is retrieved.
- HourChanged
- Event when hour is changed
- MinuteChanged
- Event when minute is changed
- MonthsState
- State emitted when a month is changed.
- NextMonthCalendar
- Event to navigate to the next month.
- NextYearCalendar
- OromoDatePickerStrings
- Afan Oromo localized strings for the date picker.
- PeriodChanged
- Event when period (morning/evening) is toggled
- PrevMonthCalendar
- Event to navigate to the previous month.
- PrevYearCalendar
- RemoveFirstValueEvent
- RemoveFirstValueState
- State emitted when a selection is removed.
- RemoveInitialValue
- RemoveItemFromList
- Event to remove a single date selection.
- RemoveLongTapFirstValueState
- State emitted when a long tap first value is removed.
- RemoveLongTapSecondValueAfterState
- State emitted when a long tap second value is removed after both are added.
- RemoveLongTapSecondValueState
- State emitted when a long tap second value is removed.
- RemoveSecondValue
- RemoveSecondValueAfterBothAdded
- RemoveSecondValueEvent
- RemoveValueFromListState
- State emitted when a value is removed from the selection list.
- ResetToCurrentTime
- Event to reset time to current
- SelectedFirstValueState
- State emitted when the first value (start date) is selected.
- SelectedSecondValueState
- State emitted when the second value (end date) is selected.
- SetDayNameState
- State emitted when setting the day name.
- SetSelectedIndexState
- State emitted when a year is selected.
- SingleValuesIndexState
- State emitted for single value selection.
- TimePickerBloc
- BLoC for managing Ethiopian time picker state
- TimePickerEvent
- Base event for the time picker
- TimePickerHourChangedState
- State when hour is changed
- TimePickerInitialState
- Initial state with current Ethiopian time
- TimePickerMinuteChangedState
- State when minute is changed
- TimePickerPeriodChangedState
- State when period (morning/evening) is changed
- TimePickerState
- Base state for the time picker
Enums
- EthiopianTimePeriod
- Ethiopian time period enum (4 periods)
Functions
-
ethiopianToGregorianDateConvertor(
int day, ETC ethiopianCalender, bool forCalender) → String - contains constant functions for our library
-
getCalenderSpecificYear(
int val) → ETC -
returnAbrivateWeekNames(
String weekName, String userLanguage) → String? -
returnDayAndMonthName(
String dayname, String currentDate, String monthname, String userLanguage, String year, bool isMonthTitle) → String?