mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-08-08 14:12:15 -04:00
sliver refactor
This commit is contained in:
parent
67812b3c6f
commit
2fa3cbd21c
25 changed files with 710 additions and 387 deletions
|
@ -44,25 +44,11 @@ class EditAccountPage extends StatefulWidget {
|
|||
}
|
||||
}
|
||||
|
||||
class _EditAccountPageState extends State<EditAccountPage> {
|
||||
bool _isInAsyncCall = false;
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) async {
|
||||
await changeWindowSetup(
|
||||
TitleBarStyle.normal, OrientationCapability.portraitOnly);
|
||||
});
|
||||
}
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
unawaited(
|
||||
changeWindowSetup(TitleBarStyle.normal, OrientationCapability.normal));
|
||||
super.dispose();
|
||||
}
|
||||
class _EditAccountPageState extends WindowSetupState<EditAccountPage> {
|
||||
_EditAccountPageState()
|
||||
: super(
|
||||
titleBarStyle: TitleBarStyle.normal,
|
||||
orientationCapability: OrientationCapability.portraitOnly);
|
||||
|
||||
Widget _editAccountForm(BuildContext context,
|
||||
{required Future<void> Function(GlobalKey<FormBuilderState>)
|
||||
|
@ -314,4 +300,8 @@ class _EditAccountPageState extends State<EditAccountPage> {
|
|||
]).paddingSymmetric(horizontal: 24, vertical: 8)))
|
||||
.withModalHUD(context, displayModalHUD);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
bool _isInAsyncCall = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue