See :
- https://hono.dev/middleware/third-party
- https://github.com/honojs/middleware/tree/main/packages/zod-openapi
- https://github.com/honojs/middleware/tree/main/packages/swagger-ui
Run
| import 'package:flutter/material.dart'; | |
| void main() { | |
| runApp(const MyApp()); | |
| } | |
| class MyApp extends StatefulWidget { | |
| const MyApp({super.key}); | |
| @override |
| // MIT License | |
| // | |
| // Copyright (c) 2025 Nidal Bakir | |
| // | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy | |
| // of this software and associated documentation files (the "Software"), to deal | |
| // in the Software without restriction, including without limitation the rights | |
| // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| // copies of the Software, and to permit persons to whom the Software is | |
| // furnished to do so, subject to the following conditions: |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter/services.dart'; | |
| import 'package:shared_preferences/shared_preferences.dart'; | |
| Future<void> main() async { | |
| try{ | |
| WidgetsFlutterBinding.ensureInitialized(); | |
| final theme = (await SharedPreferences.getInstance()).getString("theme_mode"); | |
| runApp( | |
| MyApp( |
| import 'package:flutter/material.dart'; | |
| class FadeIndexedStack extends StatefulWidget { | |
| final int index; | |
| final List<Widget> children; | |
| final Duration duration; | |
| const FadeIndexedStack({ | |
| Key key, | |
| this.index, |
| import requests,urllib3, sys | |
| from bs4 import BeautifulSoup | |
| if len(sys.argv) < 3: | |
| print('Usage: python registrocivil.py run docType docNumber') | |
| sys.exit('ex: python registrocivil.py 11111111-K CEDULA 10600000') | |
| URL="https://portal.sidiv.registrocivil.cl/usuarios-portal/pages/DocumentRequestStatus.xhtml" | |
| headers={"Content-Type":"application/x-www-form-urlencoded", | |
| "User-Agent":"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36"} |