68 lines
2.0 KiB
Dart
68 lines
2.0 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:google_fonts/google_fonts.dart';
|
|
import 'package:hub/components/templates_components/provisional_schedule_template/provisional_shcedule_template_widget.dart';
|
|
import 'package:hub/flutter_flow/flutter_flow_icon_button.dart';
|
|
import 'package:hub/flutter_flow/flutter_flow_theme.dart';
|
|
import 'package:hub/flutter_flow/nav/nav.dart';
|
|
import 'package:hub/shared/utils/style_util.dart';
|
|
|
|
import '/flutter_flow/flutter_flow_util.dart';
|
|
|
|
class DeliverySchedule extends StatefulWidget {
|
|
const DeliverySchedule({super.key});
|
|
|
|
@override
|
|
State<DeliverySchedule> createState() => _DeliveryScheduleState();
|
|
}
|
|
|
|
class _DeliveryScheduleState extends State<DeliverySchedule> {
|
|
final scaffoldKey = GlobalKey<ScaffoldState>();
|
|
|
|
@override
|
|
void initState() {
|
|
super.initState();
|
|
}
|
|
|
|
@override
|
|
void dispose() {
|
|
super.dispose();
|
|
}
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
key: scaffoldKey,
|
|
backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
|
|
appBar: AppBar(
|
|
automaticallyImplyLeading: false,
|
|
forceMaterialTransparency: true,
|
|
leading: FlutterFlowIconButton(
|
|
borderColor: Colors.transparent,
|
|
borderRadius: 30.0,
|
|
borderWidth: 1.0,
|
|
buttonSize: 60.0,
|
|
icon: Icon(
|
|
Icons.keyboard_arrow_left,
|
|
color: FlutterFlowTheme.of(context).primaryText,
|
|
size: 30.0,
|
|
),
|
|
onPressed: () async {
|
|
context.pop();
|
|
},
|
|
),
|
|
title: Text(
|
|
FFLocalizations.of(context).getVariableText(
|
|
enText: 'Delivery Schedule',
|
|
ptText: 'Agendar Entregas',
|
|
),
|
|
style: DesignUtil.appbarStyle(),
|
|
),
|
|
actions: const [],
|
|
centerTitle: true,
|
|
elevation: 0.0,
|
|
),
|
|
body: const SafeArea(
|
|
top: true, child: ScheduleProvisionalVisitPageWidget()));
|
|
}
|
|
}
|