Skip to content

Instantly share code, notes, and snippets.

@nkenna
Created October 29, 2019 09:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nkenna/59203e5b9daf1f61009ece4aac665fba to your computer and use it in GitHub Desktop.
Save nkenna/59203e5b9daf1f61009ece4aac665fba to your computer and use it in GitHub Desktop.
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: MyHomePage(title: 'Flutter Demo Home Page', channel: IOWebSocketChannel.connect("ws://192.168.43.25:8001")),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment