diff --git a/example/lib/chips_input_text_field.dart b/example/lib/chips_input_text_field.dart index ef8229c8..e62773f7 100644 --- a/example/lib/chips_input_text_field.dart +++ b/example/lib/chips_input_text_field.dart @@ -64,7 +64,7 @@ class ChipInputTextFieldState extends State> { @override Widget build(BuildContext context) { return Material( - elevation: 2, + elevation: 4, color: Colors.white, child: Container( child: Padding( diff --git a/example/lib/main.dart b/example/lib/main.dart index f681129d..82fee6b2 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -121,6 +121,12 @@ class ChannelListPage extends StatelessWidget { ), ), ListTile( + onTap: () { + Navigator.push( + context, + MaterialPageRoute(builder: (_) => NewGroupChatScreen()), + ); + }, leading: Icon(StreamIcons.group), title: Text( 'New group', @@ -492,7 +498,12 @@ class _NewChatScreenState extends State { Container( color: Colors.white54, child: InkWell( - onTap: () {}, + onTap: () { + Navigator.push( + context, + MaterialPageRoute(builder: (_) => NewGroupChatScreen()), + ); + }, child: Row( children: [ NeumorphicButton( @@ -581,3 +592,23 @@ class _NewChatScreenState extends State { ); } } + +class NewGroupChatScreen extends StatefulWidget { + @override + _NewGroupChatScreenState createState() => _NewGroupChatScreenState(); +} + +class _NewGroupChatScreenState extends State { + @override + Widget build(BuildContext context) { + return Scaffold( + appBar: AppBar( + backgroundColor: Colors.white, + title: Text( + 'Add Group Members', + style: TextStyle(color: Colors.black), + ), + ), + ); + } +}