ethio_date_picker 1.0.0 copy "ethio_date_picker: ^1.0.0" to clipboard
ethio_date_picker: ^1.0.0 copied to clipboard

A custom Ethiopian Date Picker Flutter package with support for Amharic, Afaan Oromoo, and English.

Ethio Date Picker #

A custom Ethiopian date picker Flutter package that supports Amharic, English languages. It uses the abushakir package for Ethiopian date calculations and flutter_bloc for state management.

Screenshots #

Amharic English
[example/images/photo_6046538453933034778_y.jpg] [example/images/photo_6046102364428635414_y.jpg]

Features #

  • Ethiopian Calendar Support: Full support for the Ethiopian calendar year, month, and day.
  • Modern UI: Clean, solid-color design with animated interactions and shadow depth.
  • Customizable:
    • allowPastDates: Toggle selection of past dates.
    • todaysDateBackgroundColor: Customize the accent color for "today".
    • startYear & endYear: specific configurable year range.
  • Null Safety: Fully supports Dart 3 and null safety.

Getting Started #

Add the package to your pubspec.yaml:

dependencies:
  ethio_date_picker: ^1.0.0

Or run:

flutter pub add ethio_date_picker

Usage #

import 'package:ethio_date_picker/ethio_date_picker.dart';

void _showDatePicker() async {
  final result = await showDialog<List<String>>(
    context: context,
    builder: (BuildContext context) {
      return Dialog(
        backgroundColor: Colors.transparent,
        child: ConstrainedBox(
          constraints: const BoxConstraints(maxWidth: 400),
          child: const EthiopianDatePicker(
            displayGregorianCalender: true,
            userLanguage: 'am', // 'am', 'en',
            startYear: 2010,
            endYear: 2020,
            todaysDateBackgroundColor: Colors.blue,
          ),
        ),
      );
    },
  );

  if (result != null) {
    print("Selected Dates: $result");
  }
}

Dependencies #

1
likes
0
points
256
downloads

Publisher

unverified uploader

Weekly Downloads

A custom Ethiopian Date Picker Flutter package with support for Amharic, Afaan Oromoo, and English.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

abushakir, equatable, flutter, flutter_bloc

More

Packages that depend on ethio_date_picker