Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rustdesk
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李朝发
rustdesk
Commits
e0d759c3
Commit
e0d759c3
authored
Sep 19, 2022
by
rustdesk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove menu from desktop home page
parent
0df6517a
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
42 additions
and
514 deletions
+42
-514
analysis_options.yaml
flutter/analysis_options.yaml
+3
-26
connection_page.dart
flutter/lib/desktop/pages/connection_page.dart
+2
-0
desktop_home_page.dart
flutter/lib/desktop/pages/desktop_home_page.dart
+19
-452
pubspec.lock
flutter/pubspec.lock
+18
-6
widget_test.dart
flutter/test/widget_test.dart
+0
-30
No files found.
flutter/analysis_options.yaml
View file @
e0d759c3
# This file configures the analyzer, which statically analyzes Dart code to
# check for errors, warnings, and lints.
#
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
# invoked from the command line by running `flutter analyze`.
# The following line activates a set of recommended lints for Flutter apps,
# packages, and plugins designed to encourage good coding practices.
include
:
package:flutter_lints/flutter.yaml
include
:
package:lints/recommended.yaml
linter
:
# The lint rules applied to this project can be customized in the
# section below to disable rules from the `package:flutter_lints/flutter.yaml`
# included above or to enable additional rules. A list of all available lints
# and their documentation is published at
# https://dart-lang.github.io/linter/lints/index.html.
#
# Instead of disabling a lint rule for the entire project in the
# section below, it can also be suppressed for a single line of code
# or a specific dart file by using the `// ignore: name_of_lint` and
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
# producing the lint.
rules
:
# avoid_print: false # Uncomment to disable the `avoid_print` rule
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
non_constant_identifier_names
:
false
sort_child_properties_last
:
false
flutter/lib/desktop/pages/connection_page.dart
View file @
e0d759c3
// main window right pane
import
'dart:async'
;
import
'dart:convert'
;
...
...
flutter/lib/desktop/pages/desktop_home_page.dart
View file @
e0d759c3
This diff is collapsed.
Click to expand it.
flutter/pubspec.lock
View file @
e0d759c3
...
...
@@ -140,7 +140,7 @@ packages:
name: characters
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.
1
"
version: "1.2.
0
"
charcode:
dependency: transitive
description:
...
...
@@ -161,7 +161,7 @@ packages:
name: clock
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.
1
"
version: "1.1.
0
"
code_builder:
dependency: transitive
description:
...
...
@@ -367,6 +367,13 @@ packages:
url: "https://github.com/Kingtous/rustdesk_flutter_custom_cursor"
source: git
version: "0.0.1"
flutter_improved_scrolling:
dependency: "direct main"
description:
name: flutter_improved_scrolling
url: "https://pub.dartlang.org"
source: hosted
version: "0.0.3"
flutter_lints:
dependency: "direct dev"
description:
...
...
@@ -374,6 +381,11 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.1"
flutter_localizations:
dependency: "direct main"
description: flutter
source: sdk
version: "0.0.0"
flutter_parsed_text:
dependency: transitive
description:
...
...
@@ -478,7 +490,7 @@ packages:
name: icons_launcher
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.
5
"
version: "2.0.
4
"
image:
dependency: "direct main"
description:
...
...
@@ -576,7 +588,7 @@ packages:
name: material_color_utilities
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.
5
"
version: "0.1.
4
"
menu_base:
dependency: transitive
description:
...
...
@@ -590,7 +602,7 @@ packages:
name: meta
url: "https://pub.dartlang.org"
source: hosted
version: "1.
8
.0"
version: "1.
7
.0"
mime:
dependency: transitive
description:
...
...
@@ -667,7 +679,7 @@ packages:
name: path
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.
2
"
version: "1.8.
1
"
path_provider:
dependency: "direct main"
description:
...
...
flutter/test/widget_test.dart
deleted
100644 → 0
View file @
0df6517a
// This is a basic Flutter widget test.
//
// To perform an interaction with a widget in your test, use the WidgetTester
// utility that Flutter provides. For example, you can send tap and scroll
// gestures. You can also use WidgetTester to find child widgets in the widget
// tree, read text, and verify that the values of widget properties are correct.
import
'package:flutter/material.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter_hbb/main.dart'
;
void
main
(
)
{
testWidgets
(
'Counter increments smoke test'
,
(
WidgetTester
tester
)
async
{
// Build our app and trigger a frame.
await
tester
.
pumpWidget
(
App
());
// Verify that our counter starts at 0.
expect
(
find
.
text
(
'0'
),
findsOneWidget
);
expect
(
find
.
text
(
'1'
),
findsNothing
);
// Tap the '+' icon and trigger a frame.
await
tester
.
tap
(
find
.
byIcon
(
Icons
.
add
));
await
tester
.
pump
();
// Verify that our counter has incremented.
expect
(
find
.
text
(
'0'
),
findsNothing
);
expect
(
find
.
text
(
'1'
),
findsOneWidget
);
});
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment