mirrored_repositories/Flutter--Pokedex/lib/features/pokedex/screens/home
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

class HomeError extends StatelessWidget {
  const HomeError({Key? key, required this.error}) : super(key: key);
  final String error;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
       body: Center(
         child: Text(error),
       )
    );
  }
}
