Closed songyiYu closed 4 years ago
Change
import 'package:hardware_buttons/hardware_buttons.dart';
as:
import 'package:hardware_buttons/hardware_buttons.dart' as HardwareButtons;
then it'll find the variables properly.
I'll update example README to include import statements. Thanks :)
I can't find HardwareButtons in code. Do I have to implement HardwareButtons enum by myself?