control_pad_plus 0.1.0
control_pad_plus: ^0.1.0 copied to clipboard
A null safe version of the control_pad package, which allows for the user to implement a joystick or control pad with 4 different button functionalities. The target of this package is to assist with t [...]
import 'package:flutter/material.dart';
import 'home_page.dart';
void main() {
runApp(const JoystickExample());
}
class JoystickExample extends StatelessWidget {
const JoystickExample({super.key});
@override
Widget build(BuildContext context) {
// ignore: prefer_const_constructors
return MaterialApp(
home: MyHomePage(),
);
}
}