add page for aur search
install aur package by button click
This commit is contained in:
@ -26,6 +26,15 @@ class _APIBuilderState<T extends BaseProvider, K, DTO>
|
||||
extends State<APIBuilder<T, K, DTO>> {
|
||||
Timer? timer;
|
||||
|
||||
@override
|
||||
void didUpdateWidget(APIBuilder<T, K, DTO> oldWidget) {
|
||||
if (oldWidget.dto != widget.dto) {
|
||||
Provider.of<T>(context, listen: false)
|
||||
.loadFuture(context, dto: widget.dto);
|
||||
}
|
||||
super.didUpdateWidget(oldWidget);
|
||||
}
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
|
Reference in New Issue
Block a user