summaryrefslogtreecommitdiff
path: root/lib/result_screen.dart
blob: 0d4796216253a608a790ae2c9a60164caa51ced7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import 'package:flutter/material.dart';

class ResultScreen extends StatelessWidget {
  final String text;

  const ResultScreen({super.key, required this.text});

  @override
  Widget build(BuildContext context) => Scaffold(
    appBar: AppBar(
      title: const Text('Result'),
    ),
    body: Container(
      padding: const EdgeInsets.all(30.0),
      child: SelectableText(text),
    ),
  );
}