withings_flutter 1.0.4 withings_flutter: ^1.0.4 copied to clipboard
A Flutter package to make your life easier when dealing with Withings APIs.
import 'package:flutter/material.dart';
import 'screens/homePage.dart';
void main() {
runApp(MyApp());
} //main
class MyApp extends StatelessWidget {
MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
//This specifies the app entrypoint
initialRoute: HomePage.route,
//This maps names to the set of routes within the app
routes: {
HomePage.route: (context) => HomePage(),
},
);
} //build
} //MyApp