Closed CripyIce closed 4 years ago
Hey thanks for the issue report.
Any more details on this? I'm consuming on 1.12.13+hotfix.8
without issues.
Any specific error being thrown at runtime? Or you getting no overlay displayed when using it?
What does the code you've implemented it in look like?
Hi @java-james , there are no errors. This is my code - very simple:
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: MyHomePage(),
);
}
}
class MyHomePage extends StatefulWidget {
MyHomePage({Key key}) : super(key: key);
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("Overlay Test"),
),
body: LoadingOverlay(
isLoading: true,
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Text(
'Some text',
),
],
),
),
);
}
}
not working as well
Hey thanks for the issue report. Any more details on this? I'm consuming on
1.12.13+hotfix.8
without issues. Any specific error being thrown at runtime? Or you getting no overlay displayed when using it? What does the code you've implemented it in look like?
1.12.13 doesn't exist?
Hey thanks for the issue report. Any more details on this? I'm consuming on
1.12.13+hotfix.8
without issues. Any specific error being thrown at runtime? Or you getting no overlay displayed when using it? What does the code you've implemented it in look like?1.12.13 doesn't exist?
Ah referring to the flutter version I'm running on. Thanks I will use the info you've provided to reproduce the issue and report back here.
same, doesnt work when LoadingOverlay is child of Scaffold
Have had a look into this. Seems like there is an issue initializing isLoading as true. (It's not picked up in the init state of the loading overlay). Can get working fine with your layout when initializing as false then changing to true via state. Will push this fix and publish this week.
Have pushed the update as 0.2.1 Please try this version and confirm the issue is fixed James
Closing this issue. Fixed in 0.2.1 let me know if you have any other issues
This library don't seem to work at all. No errors though. Flutter doctor: