Instantly share code, notes, and snippets.
Last active
June 30, 2023 09:06
-
Star
(1)
1
You must be signed in to star a gist -
Fork
(0)
0
You must be signed in to fork a gist
-
Save itspacchu/52850694dd3ae19d4ec128e60c152ce4 to your computer and use it in GitHub Desktop.
Made in FlutterFlow :O
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import '../flutter_flow/flutter_flow_theme.dart'; | |
import '../flutter_flow/flutter_flow_util.dart'; | |
import '../flutter_flow/flutter_flow_widgets.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:google_fonts/google_fonts.dart'; | |
class HomePageWidget extends StatefulWidget { | |
HomePageWidget({Key key}) : super(key: key); | |
@override | |
_HomePageWidgetState createState() => _HomePageWidgetState(); | |
} | |
class _HomePageWidgetState extends State<HomePageWidget> { | |
final scaffoldKey = GlobalKey<ScaffoldState>(); | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
key: scaffoldKey, | |
appBar: AppBar( | |
backgroundColor: Color(0xFF51307B), | |
automaticallyImplyLeading: false, | |
title: Text( | |
'GOD APP', | |
style: FlutterFlowTheme.title1.override( | |
fontFamily: 'Poppins', | |
color: Colors.white, | |
), | |
), | |
actions: [], | |
centerTitle: true, | |
elevation: 4, | |
), | |
backgroundColor: Color(0xFF372154), | |
body: SafeArea( | |
child: Column( | |
mainAxisSize: MainAxisSize.max, | |
mainAxisAlignment: MainAxisAlignment.center, | |
children: [ | |
Padding( | |
padding: EdgeInsets.fromLTRB(1, 0, 0, 0), | |
child: Row( | |
mainAxisSize: MainAxisSize.max, | |
mainAxisAlignment: MainAxisAlignment.spaceEvenly, | |
children: [ | |
Align( | |
alignment: Alignment(0, 0), | |
child: Padding( | |
padding: EdgeInsets.fromLTRB(10, 10, 10, 10), | |
child: FFButtonWidget( | |
onPressed: () async { | |
await launchURL( | |
'https://www.youtube.com/watch?v=dH30vEH6YfI'); | |
}, | |
text: 'Tracer', | |
options: FFButtonOptions( | |
width: 130, | |
height: 100, | |
color: Color(0xFFA060EE), | |
textStyle: FlutterFlowTheme.subtitle2.override( | |
fontFamily: 'Poppins', | |
color: Colors.white, | |
), | |
borderSide: BorderSide( | |
color: Colors.transparent, | |
width: 1, | |
), | |
borderRadius: 12, | |
), | |
), | |
), | |
), | |
Padding( | |
padding: EdgeInsets.fromLTRB(10, 10, 10, 10), | |
child: FFButtonWidget( | |
onPressed: () async { | |
await launchURL( | |
'https://www.youtube.com/watch?v=x0jPbnuZ3Rc&ab_channel=Dozzyable'); | |
}, | |
text: 'Rick Astley', | |
options: FFButtonOptions( | |
width: 130, | |
height: 100, | |
color: Color(0xFFA060EE), | |
textStyle: FlutterFlowTheme.subtitle2.override( | |
fontFamily: 'Poppins', | |
color: Colors.white, | |
), | |
borderSide: BorderSide( | |
color: Colors.transparent, | |
width: 1, | |
), | |
borderRadius: 12, | |
), | |
), | |
) | |
], | |
), | |
), | |
Padding( | |
padding: EdgeInsets.fromLTRB(1, 0, 0, 0), | |
child: Row( | |
mainAxisSize: MainAxisSize.max, | |
mainAxisAlignment: MainAxisAlignment.spaceEvenly, | |
children: [ | |
Align( | |
alignment: Alignment(0, 0), | |
child: Padding( | |
padding: EdgeInsets.fromLTRB(10, 10, 10, 10), | |
child: FFButtonWidget( | |
onPressed: () async { | |
await launchURL( | |
'https://www.youtube.com/watch?v=x0jPbnuZ3Rc'); | |
}, | |
text: 'boop', | |
options: FFButtonOptions( | |
width: 130, | |
height: 100, | |
color: Color(0xFFA060EE), | |
textStyle: FlutterFlowTheme.subtitle2.override( | |
fontFamily: 'Poppins', | |
color: Colors.white, | |
), | |
borderSide: BorderSide( | |
color: Colors.transparent, | |
width: 1, | |
), | |
borderRadius: 12, | |
), | |
), | |
), | |
), | |
Padding( | |
padding: EdgeInsets.fromLTRB(10, 10, 10, 10), | |
child: FFButtonWidget( | |
onPressed: () { | |
print('Button pressed ...'); | |
}, | |
text: 'y u gae', | |
options: FFButtonOptions( | |
width: 130, | |
height: 100, | |
color: Color(0xFFA060EE), | |
textStyle: FlutterFlowTheme.subtitle2.override( | |
fontFamily: 'Poppins', | |
color: Colors.white, | |
), | |
borderSide: BorderSide( | |
color: Colors.transparent, | |
width: 1, | |
), | |
borderRadius: 12, | |
), | |
), | |
) | |
], | |
), | |
) | |
], | |
), | |
), | |
); | |
} | |
} |
Missing files are here in FlutterFlow official github repo https://github.com/FlutterFlow/flutterflow-ui/tree/main/lib/src/flutter_flow
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
These codes are exported from https://app.flutterflow.io/ You will have to write your custom code for those dart files.