getx icon indicating copy to clipboard operation
getx copied to clipboard

RxInt will reset after 60

Open CodeEagle opened this issue 3 years ago • 0 comments

ATTENTION: DO NOT USE THIS FIELD TO ASK SUPPORT QUESTIONS. USE THE PLATFORM CHANNELS FOR THIS. THIS SPACE IS DEDICATED ONLY FOR BUGS DESCRIPTION. Fill in the template. Issues that do not respect the model will be closed.

Describe the bug A clear and concise description of what the bug is.

Reproduction code NOTE: THIS IS MANDATORY, IF YOUR ISSUE DOES NOT CONTAIN IT, IT WILL BE CLOSED PRELIMINARY)

example:

void main() => runApp(MaterialApp(home: Home()));

class Home extends StatelessWidget {
  final count = 59.obs;
  @override
  Widget build(context) => Scaffold(
      appBar: AppBar(title: Text("counter")),
      body: Center(
        child: Obx(() => Text("$count")),
      ),
      floatingActionButton: FloatingActionButton(
        child: Icon(Icons.add),
        onPressed: () => count.value++,
      ));
}

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Flutter Version: Enter the version of the Flutter you are using

Getx Version: Enter the version of the Getx you are using

Describe on which device you found the bug: ex: Moto z2 - Android.

Minimal reproduce code Provide a minimum reproduction code for the problem

image

CodeEagle avatar Jul 07 '22 07:07 CodeEagle