You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.1 KiB
Dart
40 lines
1.1 KiB
Dart
import 'package:diplomaticquarterapp/widgets/buttons/button.dart';
|
|
import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart';
|
|
import 'package:diplomaticquarterapp/widgets/data_display/text.dart';
|
|
import 'package:flutter/cupertino.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
class SelectTransportationMethod extends StatefulWidget {
|
|
final Function changeCurrentTab;
|
|
|
|
SelectTransportationMethod({Key key, this.changeCurrentTab});
|
|
|
|
@override
|
|
_SelectTransportationMethodState createState() =>
|
|
_SelectTransportationMethodState();
|
|
}
|
|
|
|
class _SelectTransportationMethodState
|
|
extends State<SelectTransportationMethod> {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Column(
|
|
children: [
|
|
Texts('SelectTransportationMethod 1'),
|
|
SizedBox(height: 45,),
|
|
Container(
|
|
padding: EdgeInsets.all(15),
|
|
width: double.maxFinite,
|
|
height: 76,
|
|
child:SecondaryButton(
|
|
color: Colors.grey[800],
|
|
textColor: Colors.white,
|
|
onTap: ()=> widget.changeCurrentTab(1),
|
|
label: 'Next',
|
|
),
|
|
)
|
|
],
|
|
);
|
|
}
|
|
}
|