first commit

This commit is contained in:
Hamza-Ayed
2026-06-09 08:40:31 +03:00
commit d8901e1a87
3161 changed files with 536187 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
import 'package:flutter_test/flutter_test.dart';
import 'package:get_storage/get_storage.dart';
void main() {
final counter = 'counter';
final isDarkMode = 'isDarkMode';
GetStorage box = GetStorage();
test('GetStorage read and write operation', () {
box.write(counter, 0);
expect(box.read(counter), 0);
});
test('save the state of brightness mode of app in GetStorage', () {
box.write(isDarkMode, true);
expect(box.read(isDarkMode), true);
});
}

View File

@@ -0,0 +1,12 @@
// 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_test/flutter_test.dart';
void main() {
testWidgets('Counter increments smoke test', (WidgetTester tester) async {});
}