Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Explaining this flutter code during an interview - The label of this dart file is btn.dart - This dart file shows the style of the

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), ); } }

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Databases questions