This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/cupertino.dart'; | |
| import 'package:flutter/material.dart'; | |
| void main() { | |
| runApp( | |
| const App(), | |
| ); | |
| } | |
| class App extends StatelessWidget { |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // AUTO GENERATED FILE, DO NOT EDIT. | |
| // | |
| // Generated by `package:ffigen`. | |
| import 'dart:ffi' as ffi; | |
| import 'package:ffi/ffi.dart' as pkg_ffi; | |
| /// Create bindings for the HealthKit APIs | |
| class HealthKit { | |
| /// Holds the symbol lookup function. | |
| final ffi.Pointer<T> Function<T extends ffi.NativeType>(String symbolName) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:english_words/english_words.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:provider/provider.dart'; | |
| void main() { | |
| runApp(MyApp()); | |
| } | |
| class MyApp extends StatelessWidget { | |
| const MyApp({super.key}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| /// Flutter code sample for [ReorderableListView]. | |
| void main() { | |
| runApp(const ReorderableApp()); | |
| } | |
| class ReorderableApp extends StatelessWidget { | |
| const ReorderableApp({super.key}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| void main() => runApp(MyApp()); | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return MaterialApp( | |
| home: MyHomePage(), | |
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| void main() => runApp(MyApp()); | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return MaterialApp( | |
| home: MyHomePage(), | |
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| void main() => runApp(MyApp()); | |
| // MyApp is the root widget of the application. | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return MaterialApp( | |
| home: Root(), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| void main() => runApp(MyApp()); | |
| // More netural / iOS friendly theme | |
| final ColorScheme iosColorScheme = ColorScheme( | |
| brightness: Brightness.light, | |
| primary: Color(0xFF007AFF), // iOS blue | |
| onPrimary: Colors.white, // Text color on primary color (typically white) | |
| secondary: Color(0xFFF8F8F8), // Lighter blue for secondary elements |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| void main() => runApp(MyApp()); | |
| // More netural / iOS friendly theme | |
| final ColorScheme iosColorScheme = ColorScheme( | |
| brightness: Brightness.light, | |
| primary: Color(0xFF007AFF), // iOS blue | |
| onPrimary: Colors.white, // Text color on primary color (typically white) | |
| secondary: Color(0xFFF8F8F8), // Lighter blue for secondary elements |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| void main() => runApp(MyApp()); | |
| // More netural / iOS friendly theme | |
| final ColorScheme iosColorScheme = ColorScheme( | |
| brightness: Brightness.light, | |
| primary: Color(0xFF007AFF), // iOS blue | |
| onPrimary: Colors.white, // Text color on primary color (typically white) | |
| secondary: Color(0xFFF8F8F8), // Lighter blue for secondary elements |