Skip to content

Access to current time outside from widget? #35

@tpc-justin

Description

@tpc-justin

hi DizoftTeam,

Congratulations first! Simple widget, self explaining and works great!

Is it possible to access current times outside of widget?

The example only shows how to access the time inside the widget:

build: (BuildContext context, double time) => Text(time.toString()),

I would have expected this to be via _controller, unfortunately I don't see a property time!?

Thanks
pc-Justin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions