Initial and done prolly

This commit is contained in:
Andrew 2025-01-05 16:01:21 +07:00
commit 6f88b9966f
175 changed files with 15445 additions and 0 deletions

View file

@ -0,0 +1,18 @@
import 'package:get/get.dart';
class RedirectController extends GetxController {
final String redirectTo;
RedirectController({
required this.redirectTo,
});
@override
void onReady() {
super.onReady();
500.milliseconds.delay(() {
Get.offAllNamed(redirectTo);
});
}
}

View file

@ -0,0 +1,20 @@
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'redirect_controller.dart';
class RedirectPage extends GetView<RedirectController> {
@override
Widget build(BuildContext context) {
return const Scaffold(
body: Center(
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
Text("Перенаправляю..."),
],
),
),
);
}
}