Riverpod + go_router с auth-guard, NavigationRail на широком экране и bottom bar на узком. Токены в flutter_secure_storage, на web access живёт в памяти. Интерцептор подставляет токен и делает ровно один refresh на 401. Деньги приходят строками и форматируются через Decimal: парсить их в double значило бы терять копейки ровно там, где бэкенд их бережёт.
15 lines
381 B
C++
15 lines
381 B
C++
//
|
|
// Generated file. Do not edit.
|
|
//
|
|
|
|
// clang-format off
|
|
|
|
#include "generated_plugin_registrant.h"
|
|
|
|
#include <flutter_secure_storage_windows/flutter_secure_storage_windows_plugin.h>
|
|
|
|
void RegisterPlugins(flutter::PluginRegistry* registry) {
|
|
FlutterSecureStorageWindowsPluginRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("FlutterSecureStorageWindowsPlugin"));
|
|
}
|