Dice Roller App
Main.dart // 1st file import 'package:flutter/material.dart' ; import 'HomePage.dart' ; void main () => runApp ( MyApp ()); class MyApp extends StatelessWidget { @override Widget build ( BuildContext context ) { return MaterialApp ( title : 'Dice Roller' , debugShowCheckedModeBanner : false , theme : ThemeData ( primarySwatch : Colors . yellow ), home : HomePage (), ); } } HomePage.dart // 2nd file import 'package:flutter/material.dart' ; import 'dart:math' ; ...