Closed xVemu closed 1 year ago
When I try to use Skeletonizer inside ExpansionTile and close the tile, Skeletonizer doesn't shrink and hide like other widgets. You can see that in the video below.
Hey @xVemu Thanks for reporting, fix in version 0.8.0
When I try to use Skeletonizer inside ExpansionTile and close the tile, Skeletonizer doesn't shrink and hide like other widgets. You can see that in the video below.
Not working
Working
Example
```dart import 'package:flutter/material.dart'; import 'package:skeletonizer/skeletonizer.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: ThemeData( primarySwatch: Colors.blue, ), home: Scaffold( body: Center( child: ExpansionTile(title: Text("Test"), children: [ Skeletonizer( child: Container(height: 60, width: 60, color: Colors.black)), ]), ), ), ); } } ```Working example
```dart import 'package:flutter/material.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: ThemeData( primarySwatch: Colors.blue, ), home: Scaffold( body: Center( child: ExpansionTile(title: Text("Test"), children: [ Container(height: 60, width: 60, color: Colors.black), ]), ), ), ); } } ```