Replace the MyGo/Go app with a Flutter client that keeps the feature set: - servers: saved servers, passwordless and password login, HTTP/SOCKS5 proxy via dart:io, self-signed certificates and pinning, tokens in flutter_secure_storage (Keystore) - sessions: list with live events, search, new/rename/archive/delete, instance sheet - chat: streaming Markdown (flutter_markdown), reasoning and tool rows, image previews, context usage ring and sheet, model/agent switching, fork/revert, attachments (file_picker), permissions - Android 7.0 (API 24)+, plain http:// works in release (Dart dials sockets directly) - build: China mirrors for Gradle/NDK, Aliyun Maven repositories, and the Gradle distribution pre-seeded; release signed with the test keystore Read-aloud is dropped as requested. Version 0.3.0.
13 lines
395 B
Dart
13 lines
395 B
Dart
import 'package:flutter_test/flutter_test.dart';
|
|
import 'package:openchamber/widgets/usage_ring.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
void main() {
|
|
testWidgets('usage ring renders', (tester) async {
|
|
await tester.pumpWidget(const MaterialApp(
|
|
home: Scaffold(body: UsageRing(pct: 33, accent: Colors.blue)),
|
|
));
|
|
expect(find.byType(UsageRing), findsOneWidget);
|
|
});
|
|
}
|