Explaining this flutter code during an interview - The label of this dart file is btn.dart -
Question:
Explaining this flutter code during an interview -
The label of this dart file is btn.dart - This dart file shows the style of the button in the flutter file.
import 'package:flutter/material.dart'; const text = TextStyle(fontWeight: FontWeight.bold, fontSize: 20, color: Colors.black); class Bt extends StatelessWidget { const Bt({Key? key, required this.text1}) : super(key: key); final String text1; @override Widget build(BuildContext context) { return TextButton( onPressed: () {}, style: TextButton.styleFrom( backgroundColor: Colors.deepOrange, shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(10), ), ), child: Text(text1, style: text), ); } }
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill