mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-07-22 06:08:54 -04:00
sliver refactor
This commit is contained in:
parent
67812b3c6f
commit
2fa3cbd21c
25 changed files with 710 additions and 387 deletions
|
@ -11,16 +11,11 @@ class Splash extends StatefulWidget {
|
|||
State<Splash> createState() => _SplashState();
|
||||
}
|
||||
|
||||
class _SplashState extends State<Splash> {
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) async {
|
||||
await changeWindowSetup(
|
||||
TitleBarStyle.hidden, OrientationCapability.normal);
|
||||
});
|
||||
}
|
||||
class _SplashState extends WindowSetupState<Splash> {
|
||||
_SplashState()
|
||||
: super(
|
||||
titleBarStyle: TitleBarStyle.hidden,
|
||||
orientationCapability: OrientationCapability.portraitOnly);
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) => PopScope(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue