mirror of
https://github.com/foss42/apidash.git
synced 2025-08-06 13:51:20 +08:00
Replace SingleChildScrollView and Column with Stack
This commit is contained in:
@ -1,5 +1,6 @@
|
|||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
|
|
||||||
|
import 'package:flutter/cupertino.dart';
|
||||||
import 'package:flutter/foundation.dart';
|
import 'package:flutter/foundation.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:http_parser/http_parser.dart';
|
import 'package:http_parser/http_parser.dart';
|
||||||
@ -74,12 +75,14 @@ class _SendingWidgetState extends State<SendingWidget> {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Center(
|
return Stack(
|
||||||
child: SingleChildScrollView(
|
|
||||||
child: Column(
|
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
|
||||||
children: [
|
children: [
|
||||||
Visibility(
|
Center(
|
||||||
|
child: Lottie.asset(kAssetSendingLottie),
|
||||||
|
),
|
||||||
|
Padding(
|
||||||
|
padding: kPh20t40,
|
||||||
|
child: Visibility(
|
||||||
visible: _millisecondsElapsed >= 0,
|
visible: _millisecondsElapsed >= 0,
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
@ -98,12 +101,11 @@ class _SendingWidgetState extends State<SendingWidget> {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Lottie.asset(kAssetSendingLottie),
|
),
|
||||||
],
|
],
|
||||||
),
|
|
||||||
),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class ResponsePaneHeader extends StatelessWidget {
|
class ResponsePaneHeader extends StatelessWidget {
|
||||||
|
Reference in New Issue
Block a user