Using bloc/rxdart(combineLatest) how can I use a checkbox?

77 views
Skip to first unread message

Tililweet

unread,
May 26, 2020, 5:30:07 PM5/26/20
to Flutter Development (flutter-dev)
So I want to use this in a page:

Checkbox(
                     activeColor: Color(0xFF4A41AE),
                     value:false ,
                     onChanged: ( bool value) {
                       
                      },
                   )

 Im using rxdart and I have this in my bloc :
Stream<bool> get signUpInfoValid => Rx.combineLatest(fullNm, userNm, emailAd,
     password, (fullNm, userNm, emailAd, password) => true);


I want to add the check value in there so that the button that calls signupInfoValid will be enabled when the streams are true. I know blocs work with streams so I'm stuck on how to use it. Any would help would be helpful.
Reply all
Reply to author
Forward
0 new messages