mirrored_repositories/Amader-Shop-App/lib
import 'package:flutter/material.dart';

class ChangeScreen extends StatelessWidget {
  final String whichAccount;
  final Function onTap;
  final String name;
  ChangeScreen({this.name, this.onTap,this.whichAccount});
  @override
  Widget build(BuildContext context) {
    return Row(
      children: <Widget>[
        Text(whichAccount),
        SizedBox(
          width: 10,
        ),
        GestureDetector(
          onTap: onTap,
          child: Text(
            name,
            style: TextStyle(
              color: Colors.greenAccent[700],
              fontSize: 15,fontWeight: FontWeight.bold
            ),
          ),
        ),
      ],
    );
  }
}
