58 lines
1.6 KiB
Dart
58 lines
1.6 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:invoiceninja_flutter/ui/app/scrollable_listview.dart';
|
|
import 'package:invoiceninja_flutter/ui/vendor/edit/vendor_edit_address.dart';
|
|
import 'package:invoiceninja_flutter/ui/vendor/edit/vendor_edit_contacts_vm.dart';
|
|
import 'package:invoiceninja_flutter/ui/vendor/edit/vendor_edit_details.dart';
|
|
import 'package:invoiceninja_flutter/ui/vendor/edit/vendor_edit_notes.dart';
|
|
import 'package:invoiceninja_flutter/ui/vendor/edit/vendor_edit_vm.dart';
|
|
|
|
class VendorEditDesktop extends StatelessWidget {
|
|
const VendorEditDesktop({
|
|
Key key,
|
|
@required this.viewModel,
|
|
}) : super(key: key);
|
|
|
|
final VendorEditVM viewModel;
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return ScrollableListView(
|
|
children: [
|
|
Row(
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
children: [
|
|
Expanded(
|
|
child: Column(
|
|
children: [
|
|
VendorEditDetails(
|
|
viewModel: viewModel,
|
|
),
|
|
VendorEditNotes(
|
|
viewModel: viewModel,
|
|
),
|
|
],
|
|
),
|
|
),
|
|
Expanded(
|
|
child: Column(
|
|
children: [
|
|
VendorEditContactsScreen(),
|
|
],
|
|
),
|
|
),
|
|
Expanded(
|
|
child: Column(
|
|
children: [
|
|
VendorEditAddress(
|
|
viewModel: viewModel,
|
|
),
|
|
],
|
|
),
|
|
),
|
|
],
|
|
),
|
|
],
|
|
);
|
|
}
|
|
}
|