Open yavuztarhan opened 3 years ago
https://api.flutter.dev/flutter/widgets/BuildContext/ancestorRenderObjectOfType.html
@Deprecated
('Use findAncestorRenderObjectOfType instead. ' 'This feature was deprecated after v1.12.1.')
RenderObject ancestorRenderObjectOfType ( TypeMatcher matcher ) @Deprecated('Use findAncestorRenderObjectOfType instead. ' 'This feature was deprecated after v1.12.1.') Returns the RenderObject object of the nearest ancestor RenderObjectWidget widget that matches the given TypeMatcher.
This method is deprecated. Please use findAncestorRenderObjectOfType instead.
need to update package
Yeah, looks like the author abandon project
Well to be honest, I did this project a long time ago. After that I once reinstalled my laptop and I didnt have the SDK installed anymore. But now I do, so I'll probably look into it some time soon I guess
@joostlek I made a pull request to fix the issue, please review it
You don't need Package for GradientAppBar. Just use this: AppBar( ... //backgroundColor: Colors.blue, flexibleSpace: Container( decoration: BoxDecoration( gradient: LinearGradient( begin: Alignment.topCenter, end: Alignment.bottomCenter, colors: [ Colors.amber[700], Colors.grey[800], ... ] ) ) ),
@yavuztarhan have you resolved the issue?
Well to be honest, I did this project a long time ago. After that I once reinstalled my laptop and I didnt have the SDK installed anymore. But now I do, so I'll probably look into it some time soon I guess
@joostlek Could you please update the package?