This commit is contained in:
jantunesmesias 2024-08-27 13:52:47 -03:00
parent e93fcef350
commit c0b93d12bd
1 changed files with 48 additions and 45 deletions

View File

@ -144,53 +144,56 @@ class _HomePageWidgetState extends State<HomePageWidget> {
decoration: const BoxDecoration( decoration: const BoxDecoration(
color: Color(0xFF1AAB5F), color: Color(0xFF1AAB5F),
), ),
child: Row( child: SafeArea(
mainAxisAlignment: MainAxisAlignment.spaceBetween, child: Row(
children: [ mainAxisAlignment: MainAxisAlignment.spaceBetween,
Padding( children: [
padding: const EdgeInsets.all(10.0), Padding(
child: FlutterFlowIconButton( padding: const EdgeInsets.all(10.0),
borderRadius: 20.0, child: FlutterFlowIconButton(
borderWidth: 1.0, borderRadius: 20.0,
buttonSize: 40.0, borderWidth: 1.0,
fillColor: FlutterFlowTheme.of(context).primary, buttonSize: 40.0,
icon: const Icon( fillColor: FlutterFlowTheme.of(context).primary,
Icons.menu_rounded, icon: const Icon(
color: Colors.white, Icons.menu_rounded,
size: 28.0, color: Colors.white,
), size: 28.0,
onPressed: () async {
scaffoldKey.currentState!.openDrawer();
},
),
),
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
ClipRRect(
borderRadius: BorderRadius.circular(8.0),
child: Image.asset(
'assets/images/logo.png',
width: 15.0,
height: 15.0,
fit: BoxFit.cover,
), ),
onPressed: () async {
scaffoldKey.currentState!.openDrawer();
},
), ),
const SizedBox(width: 8.0), ),
Text( Row(
'FRE ACCESS', mainAxisAlignment: MainAxisAlignment.center,
style: FlutterFlowTheme.of(context).bodyMedium.override( children: [
fontFamily: FlutterFlowTheme.of(context).bodyMediumFamily, ClipRRect(
color: FlutterFlowTheme.of(context).info, borderRadius: BorderRadius.circular(8.0),
letterSpacing: 0.0, child: Image.asset(
useGoogleFonts: GoogleFonts.asMap().containsKey( 'assets/images/logo.png',
FlutterFlowTheme.of(context).bodyMediumFamily), width: 15.0,
), height: 15.0,
), fit: BoxFit.cover,
], ),
), ),
const SizedBox(width: 60.0), const SizedBox(width: 8.0),
], Text(
'FRE ACCESS',
style: FlutterFlowTheme.of(context).bodyMedium.override(
fontFamily:
FlutterFlowTheme.of(context).bodyMediumFamily,
color: FlutterFlowTheme.of(context).info,
letterSpacing: 0.0,
useGoogleFonts: GoogleFonts.asMap().containsKey(
FlutterFlowTheme.of(context).bodyMediumFamily),
),
),
],
),
const SizedBox(width: 60.0),
],
),
), ),
); );
} }