import 'package:flutter/material.dart'; mixin PageResume<T extends StatefulWidget> on State<T> { void onResume() {} }