2022-08-01 14:59:57 +00:00
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:
2022-08-03 16:16:32 +00:00
" 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 " ) ;
2022-08-01 14:59:57 +00:00
} ,
child: const Icon ( Icons . question_mark ) ,
) ;
}
}