center loading message
This commit is contained in:
parent
9cc63a365b
commit
16d25d139a
|
@ -16,3 +16,8 @@ Async Laden initial
|
|||
* in InitState das async-Laden aufrufen
|
||||
* darin await LoadFromSomething()
|
||||
* dann Navigator.pushReplacement zur Home-Route
|
||||
|
||||
Assets
|
||||
======
|
||||
* Ordner 'assets' anlegen
|
||||
* in pubspec.yaml -> flutter: -> assets: -> - assets/foobar.jpg auflisten
|
||||
|
|
|
@ -316,8 +316,9 @@ class _LoadingState extends State<Loading> {
|
|||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
body: SafeArea(
|
||||
body: Container(
|
||||
child: Text("Loading..."),
|
||||
alignment: Alignment.center,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user