horizontal_calendar_plus 0.0.1 copy "horizontal_calendar_plus: ^0.0.1" to clipboard
horizontal_calendar_plus: ^0.0.1 copied to clipboard

Horizontal calendar plus

Flutter Horizantal calender plaus package . You easy to handel Horizantal calender . Always highlight current index you can change and modify it

Features #

  1. Multiple country languages [HINDI, BANGLA, NAPILE, ENGLISH]
  2. DEFAUL show english
  3. Use coustom design widget build Horizantal Calender
  4. Access & Manage all function
  5. Always highlight current index you can change and modify it

Getting started #

  • ✅ Add this package your yaml file

Usage #

  @override
  void initState() {
    super.initState();
    // Start date time updater  
    HorizontalCalendarPlus.startDateTimeUpdater(_currentDateNotifier);
    
    //Always highlight current index
    HorizontalCalendarPlus.jumpToCurrentIndex(scrollController);
  }


    HorizontalCalendarPlus(
        currentDateNotifier: _currentDateNotifier, 
        padding: EdgeInsets.only(top: 15,left: 8,right: 8),
        scrollController: scrollController,
        calenderLabelformate: CalenderDateFormate.ABBR_WEEKDAY,
        calenderSubTitleformate: CalenderDateFormate.MONTH_DAY,
        designTypeCalender: DesignTypeCalender.DEFAULTDESIGN,
        boxelevation: 5,
        boxActiveBgColor: Colors.green,
        boxborderRadius: BorderRadius.circular(1),
        changelanguage: Changelanguage.NAPILE,
        cardViewDesign: CardContentView(
        hideIcon: false,
        // titletextActiveColor: Colors.red,
        // titletextUnActiveColor: Colors.greenAccent,
        ),
        /*
        customWidgetbuilder: (context, dateTime, index) {
        // return Text("hello ${index!}");
        final packageCore = PackageCore(builderIndex: index, dateTime: dateTime, countPreviesDate: 3);
        return Card(
            color:  packageCore.dateFormatePlus() == packageCore.checkCurrentDate() ?  Colors.green :  Colors.black,
            elevation: 2,
            shape: RoundedRectangleBorder(
                side: packageCore.dateFormatePlus() == packageCore.checkCurrentDate() ? BorderSide(width: 2,color: Colors.green) : BorderSide(width: 1,color: Colors.black),
                borderRadius: BorderRadius.circular(10),
            ),
            shadowColor: Colors.black,
            borderOnForeground: true,
            margin: EdgeInsets.all(2),
            clipBehavior: Clip.antiAliasWithSaveLayer,
            child: Column(
                mainAxisAlignment: MainAxisAlignment.center,
                children: [
                Text( // Label 
                    packageCore.showTitle(CalenderDateFormate.MONTH_DAY.skeleton),
                    style: TextStyle(fontSize: 14, fontWeight: FontWeight.normal),
                ),
                Text( // SubTitle text 
                    packageCore.showSubTitle(CalenderDateFormate.WEEKDAY.skeleton), 
                    style: TextStyle(fontSize: 18, fontWeight: FontWeight.bold),
                ),
                ],
            ),
            );
        },
        */
    ),


Text(
    packageCore!.showTitle(calenderLabelformate!.skeleton),
      style: TextStyle(fontSize: 18, fontWeight: FontWeight.bold, color: isCurrentDate! ?  cardViewDesign!.titletextActiveColor : cardViewDesign!.titletextUnActiveColor ),
    ),
Text( 
    packageCore!.showSubTitle(calenderSubTitleformate!.skeleton), 
     style: TextStyle(fontSize: 14, fontWeight: FontWeight.normal, color: isCurrentDate! ?  cardViewDesign!.subTitletextActiveColor : cardViewDesign!.subtitletextUnActiveColor),
),


Package UI view #

Horizantal Calender plus

Next Goals #

  • ✅ Add more country Multiple country languages [HINDI, BANGLA, NAPILE, ENGLISH]
  • ✅ Issue solved & improve
  • ✅ Add more design template

horizontal_calendar_plus #

11
likes
0
points
21
downloads

Publisher

unverified uploader

Weekly Downloads

Horizontal calendar plus

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, intl

More

Packages that depend on horizontal_calendar_plus