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(const QuizApp()); | |
| class QuizApp extends StatefulWidget { | |
| const QuizApp({super.key}); | |
| @override | |
| State<QuizApp> createState() => _QuizAppState(); | |
| } |
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'; | |
| import 'dart:math'; | |
| void main() => runApp( | |
| const MaterialApp( // Wrap WordScrambleApp with MaterialApp at the root | |
| title: 'Word Scramble', | |
| home: WordScrambleApp(), | |
| ), | |
| ); |
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'; | |
| import 'dart:math'; | |
| void main() => runApp(const WordScrambleApp()); | |
| class WordScrambleApp extends StatelessWidget { | |
| const WordScrambleApp({super.key}); | |
| @override | |
| Widget build(BuildContext context) { |
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'; | |
| import 'dart:math'; | |
| void main() => runApp(const WordScrambleApp()); | |
| class WordScrambleApp extends StatefulWidget { | |
| const WordScrambleApp({super.key}); | |
| @override | |
| State<WordScrambleApp> createState() => _WordScrambleAppState(); |