Skip to content

Want to update a RxList type variable, but instead updated both variable with RxList type #1083

Answered by eduardoflorence
davey06 asked this question in Q&A
Discussion options

You must be logged in to vote

If you want to refine a widget's update control with GetBuilder, you can assign them unique IDs:

GetBuilder<Controller>(
  id: 'text'
  init: Controller(),
  builder: (_) => Text(
    '${_.counter}', 
  ),
),

And update it this form:

update(['text']);

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@davey06
Comment options

@thanhchelsea
Comment options

@davey06
Comment options

Answer selected by davey06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants