Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in SlideCountdownSeparated #43

Closed
jjvillavicencio opened this issue May 18, 2023 · 1 comment
Closed

Error in SlideCountdownSeparated #43

jjvillavicencio opened this issue May 18, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jjvillavicencio
Copy link

In my case I set a duration of 10 minutes in the SlideCountdownSeparated widget and the count displayed is incorrect, I changed the widget to SlideCountdown and the count was displayed correctly.

Plugin Versión:
slide_countdown: ^0.5.0

Code:

SlideCountdownSeparated(
    duration: Duration(minutes: 10),
    separatorType: SeparatorType.symbol,
    height: ctrl.responsive.hp(4),
    width: ctrl.responsive.wp(8),
    decoration: BoxDecoration(
      color: Get.theme.colorScheme.secondary,
      borderRadius: BorderRadius.circular(
        ctrl.responsive.ip(0.5),
      ),
    ),
    textStyle: TextStyle(
      color: Get.theme.colorScheme.onSecondary,
      fontSize: ctrl.responsive.ip(1.8),
      fontWeight: FontWeight.bold,
    ),
    onDone: () {
      ctrl.countDownFinish();
    },
  )

Error image:

IMG_3260

@farhanfadila1717 farhanfadila1717 self-assigned this May 20, 2023
@farhanfadila1717 farhanfadila1717 added the bug Something isn't working label May 20, 2023
@farhanfadila1717
Copy link
Owner

Hi @jjvillavicencio, thanks for filling this issue, this issue fix in 0.6.0 version, check the last version of this package. https://pub.dev/packages/slide_countdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants