mirror of
https://github.com/supabase/supabase.git
synced 2026-10-12 04:45:08 +03:00
11 lines
315 B
Dart
11 lines
315 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:supabase_flutter/supabase_flutter.dart';
|
|
|
|
class AuthRequiredState<T extends StatefulWidget>
|
|
extends SupabaseAuthRequiredState<T> {
|
|
@override
|
|
void onUnauthenticated() {
|
|
Navigator.pushNamedAndRemoveUntil(context, '/signIn', (route) => false);
|
|
}
|
|
}
|