mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-12 10:56:11 +02:00
refactor peer tab with model, make it scrollable
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
133fba573b
commit
40d0ea016b
7 changed files with 423 additions and 319 deletions
|
@ -643,9 +643,9 @@ class _PasswordWidgetState extends State<PasswordWidget> {
|
|||
// Here is key idea
|
||||
suffixIcon: IconButton(
|
||||
icon: Icon(
|
||||
// Based on passwordVisible state choose the icon
|
||||
_passwordVisible ? Icons.visibility : Icons.visibility_off,
|
||||
),
|
||||
// Based on passwordVisible state choose the icon
|
||||
_passwordVisible ? Icons.visibility : Icons.visibility_off,
|
||||
color: MyTheme.lightTheme.primaryColor),
|
||||
onPressed: () {
|
||||
// Update the state i.e. toggle the state of passwordVisible variable
|
||||
setState(() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue