SimformSolutionsPvtLtd / flutter_calendar_view

A Flutter package allows you to easily implement all calendar UI and calendar event functionality. 👌🔝🎉
https://pub.dev/packages/calendar_view
MIT License
393 stars 239 forks source link

current time not shown in timeline #336

Closed kayatmin closed 2 months ago

kayatmin commented 3 months ago

hi just wanted to reach out and see if anyone else is having the same issue, the timeline doesn't show the current time: image

flutter doctor -v

[√] Flutter (Channel stable, 3.16.5, on Microsoft Windows [Version 10.0.22631.3296], locale en-CA) • Flutter version 3.16.5 on channel stable at C:\Users\temp\fvm\versions\3.16.5 • Upstream repository https://github.com/flutter/flutter.git • Framework revision 78666c8dc5 (3 months ago), 2023-12-19 16:14:14 -0800 • Engine revision 3f3e560236 • Dart version 3.2.3 • DevTools version 2.28.4

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1) • Android SDK at C:\Users\temp\AppData\Local\Android\Sdk • Platform android-33-ext4, build-tools 33.0.1 • ANDROID_HOME = C:\Users\temp\AppData\Local\Android\Sdk • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-9505619) • All Android licenses accepted.

[√] Chrome - develop for the web • Chrome at C:\Users\temp\AppData\Local\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.5.4) • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community • Visual Studio Community 2022 version 17.5.33530.505 • Windows 10 SDK version 10.0.22000.0

[√] Android Studio (version 2022.1) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-9505619)

[√] VS Code (version 1.87.2) • VS Code at C:\Users\temp\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.84.0

[√] VS Code (version 1.88.0-insider) • VS Code at C:\Users\temp\AppData\Local\Programs\Microsoft VS Code Insiders • Flutter extension version 3.85.20240301

[√] Connected device (3 available) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22631.3296] • Chrome (web) • chrome • web-javascript • Google Chrome 122.0.6261.129 • Edge (web) • edge • web-javascript • Microsoft Edge 122.0.2365.92

[√] Network resources • All expected network resources are available.

• No issues found!

here's the minimum code that reproduces it:

import 'package:calendar_view/calendar_view.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      title: 'Flutter Demo',
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key});

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: DayView(controller: EventController()),
    );
  }
}

ran on web - chrome Version 122.0.6261.129 (Official Build) (64-bit)

thank you.

sinxwal commented 3 months ago

Same here

jiazeh commented 3 months ago

Same issue.