import 'package:flutter/material.dart'; class AboutButton extends StatelessWidget { const AboutButton({Key? key}) : super(key: key); @override Widget build(BuildContext context) { return FloatingActionButton.small( onPressed: () { showAboutDialog( context: context, applicationName: "Senator or Serial Killer", applicationVersion: "0.0.0", children: [ const Text( "THE MOST FUN YOU CAN POSSIBLY HAVE WHILE LOOKING AT A WEBSITE! PRESS THE BUTTONS TO WIN!") ], applicationLegalese: "this application is licensed under the \"you will be eaten by ants if you do something i dont like\" license. the name is self explanatory, THIS WEBSITE IS ILLEGAL TO USE OR EVEN LOOK AT, SORRY"); }, child: const Icon(Icons.question_mark), ); } }