-
Notifications
You must be signed in to change notification settings - Fork 37
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
Services and characteristics list #92
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing unit tests
example/lib/peripheral_details/components/peripheral_details_view.dart
Outdated
Show resolved
Hide resolved
example/lib/peripheral_details/components/peripheral_details_view.dart
Outdated
Show resolved
Hide resolved
example/lib/peripheral_details/components/peripheral_details_view.dart
Outdated
Show resolved
Hide resolved
example/lib/peripheral_details/components/peripheral_details_view.dart
Outdated
Show resolved
Hide resolved
example/lib/peripheral_details/components/peripheral_details_view.dart
Outdated
Show resolved
Hide resolved
… example/services-list # Conflicts: # example/lib/peripheral_details/components/peripheral_details_view.dart
4a78702
to
64904f9
Compare
sliver: SliverToBoxAdapter( | ||
child: BlocBuilder<PeripheralDetailsBloc, PeripheralDetailsState>( | ||
builder: (context, state) { | ||
return Column( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it redrawn when any of serviceState.expanded
has been changed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I understand it, only the changed view will be redrawn. Whole column view would be rebuilt each time expanded state changes, but only changed part would be actually redrawn.
], | ||
); | ||
} | ||
|
||
Widget _createServiceView( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am wondering, maybe it(Services view) should be extracted to separate view/widget/file?
@override | ||
List<Object> get props => [index]; | ||
|
||
final int index; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
index of what? imho it should be more meaningful
No description provided.