import 'package:flutter/material.dart'; import 'package:using_platform_adaptive/example.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); // This widget is the root of your application. @override Widget build(BuildContext context) { return MaterialApp( title: 'Platform Adaptive', theme: ThemeData( primarySwatch: Colors.teal, ), home: const Example(), ); } }