extra form validation and connection list done
This commit is contained in:
parent
bd8884787d
commit
789cea13a1
5 changed files with 281 additions and 74 deletions
|
@ -1,5 +1,5 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:fluxcloud/add_server_modal.dart';
|
||||
import 'package:fluxcloud/sftp_connection_list.dart';
|
||||
|
||||
void main() {
|
||||
runApp(const MainApp());
|
||||
|
@ -23,26 +23,7 @@ class MainApp extends StatelessWidget {
|
|||
),
|
||||
themeMode: ThemeMode.system,
|
||||
color: Color(0x002EC1EB),
|
||||
home: Scaffold(
|
||||
floatingActionButton: Builder(
|
||||
builder: (context) {
|
||||
return FloatingActionButton(
|
||||
child: Icon(Icons.add),
|
||||
onPressed: () {
|
||||
showModalBottomSheet(
|
||||
isScrollControlled: true,
|
||||
context: context,
|
||||
showDragHandle: true,
|
||||
builder: (context) => AddServerModal()
|
||||
);
|
||||
}
|
||||
);
|
||||
}
|
||||
),
|
||||
body: Center(
|
||||
child: Text('nice World!'),
|
||||
),
|
||||
),
|
||||
home: SftpConnectionList()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue