import 'package:flutter/material.dart'; import 'package:stackwallet/pages/buy_view/buy_form.dart'; import 'package:stackwallet/utilities/enums/coin_enum.dart'; class BuyView extends StatefulWidget { const BuyView({ Key? key, this.coin, }) : super(key: key); static const String routeName = "/stackBuyView"; final Coin? coin; @override State createState() => _BuyViewState(); } class _BuyViewState extends State { late final Coin? coin; @override Widget build(BuildContext context) { debugPrint("BUILD: $runtimeType"); return const SafeArea( child: Padding( padding: EdgeInsets.only( left: 16, right: 16, top: 16, ), child: BuyForm(), ), ); } }