20240831 test commit

This commit is contained in:
2024-08-31 23:39:10 +01:00
parent 7e5e2c46ff
commit fd16c79083
7 changed files with 242 additions and 73 deletions
View File
+13
View File
@@ -0,0 +1,13 @@
import 'package:nextcloud/nextcloud.dart';
import 'package:nextcloud/provisioning_api.dart';
Future<void> main() async {
final client = NextcloudClient(
Uri.parse('https://storage.theonasanyas.com'),
loginName: 'theadmin',
password: '3Olademiwa@90.',
);
final response = await client.provisioningApi.users.getCurrentUser();
print(response.body.ocs.data.id); // Will print `admin`
}
+27
View File
@@ -0,0 +1,27 @@
import 'package:flutter/material.dart';
class WelcomeScreen extends StatefulWidget {
const WelcomeScreen({super.key});
@override
State<WelcomeScreen> createState() => _WelcomeScreenState();
}
class _WelcomeScreenState extends State<WelcomeScreen> {
@override
void initState() {
super.initState();
}
@override
Widget build(BuildContext context) {
return const Scaffold(
body: Column(
children: [
],
),
);
}
}