This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:shared_preferences/shared_preferences.dart'; | |
const String _appPassword = 'flutterweb'; | |
class PasswordProtectionOverlay extends StatefulWidget { | |
const PasswordProtectionOverlay({super.key}); | |
@override | |
State<PasswordProtectionOverlay> createState() => |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:stack_trace/stack_trace.dart'; | |
void wingardiumLogiosa( | |
Object? object, { | |
bool showOrigin = true, | |
}) { | |
final trace = Trace.current(); | |
final splitted = trace.frames[1].member?.split("."); | |
String message = object.toString(); |