taupesnail656

taupesnail656

Lv3

Abilene Christian University

1 Follower
1 Following
3 Helped

ANSWERS

Published47

Subjects

Project Management2History1English4Business2Nursing2Algebra5Computer Science3Accounting1Calculus1Biology2Statistics2Physics7Chemistry15

For flutter 3.3.2 fixed the return statement now having issues with the following lines - lib/main.dart(16,18): error G4127D1E8: The getter '_formkey' isn't defined for the class 'MyAppState'. [D:\form_widget5\build\windows\flutter\flutter_assemble.vcxproj]
lib/main.dart(28,23): error G4127D1E8: The getter 'loginData' isn't defined for the class 'MyAppState'. [D:\form_widget5\build\windows\flutter\flutter_assemble.vcxproj]
lib/main.dart(46,23): error G4127D1E8: The getter 'loginData' isn't defined for the class 'MyAppState'. [D:\form_widget5\build\windows\flutter\flutter_assemble.vcxproj]
lib/main.dart(56,27): error G4127D1E8: The getter '_formkey' isn't defined for the class 'MyAppState'. [D:\form_widget5\build\windows\flutter\flutter_assemble.vcxproj]
lib/main.dart(57,25): error G4127D1E8: The getter '_formkey' isn't defined for the class 'MyAppState'. [D:\form_widget5\build\windows\flutter\flutter_assemble.vcxproj]
lib/main.dart(59,52): error G4127D1E8: The getter 'loginData' isn't defined for the class 'MyAppState'. [D:\form_widget5\build\windows\flutter\flutter_assemble.vcxproj]
lib/main.dart(62,52): error G4127D1E8: The getter 'loginData' isn't defined for the class 'MyAppState'. [D:\form_widget5\build\windows\flutter\flutter_assemble.vcxproj]

Full code listed below

 

import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';

void main() {
runApp(const MyApp());
}

class MyAppState extends State<MyApp>{
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body : Container(
padding : const EdgeInsets.all(50.0),
child : Form(
key: _formkey,
child: Column(
children: [
TextFormField(
keyboardType: TextInputType.emailAddress,
validator: (String? inValue) {
if (inValue?.isEmpty?? true) {
return "Please enter username";
}
return null;
},
onSaved: (String? inValue) {
loginData.username = inValue!;
},
decoration: const InputDecoration(
hintText: "[email protected]",
labelText: "Username (eMail address)"
),
),
TextFormField(
obscureText: true,
validator: (String? inValue) {
if (inValue == null) {
return "Password cannot be null";
} else if (inValue.length < 10) {
return "Password must be >= 10 in length";
}
return null;
},
onSaved: (String? inValue) {
loginData.password = inValue!;
},
decoration: const InputDecoration(
hintText : "Password",
labelText : "Password"
),
),
ElevatedButton(
child : const Text("Log In!"),
onPressed: (){
if (_formkey.currentState!.validate()){
_formkey.currentState!.save();
if (kDebugMode) {
debugPrint ("Username: ${loginData.username}");
}
if (kDebugMode) {
debugPrint ("Password: ${loginData.password}");
}
}
},
),
]
),
),
),
),
);
}
}

class MyApp extends StatefulWidget {
const MyApp({super.key});
@override
MyAppState createState() => MyAppState();
}

class LoginData {
String username = "";
String password = "";
}

Answer: It seems that the variable _formkey and loginData are not defined in t...
Answer: To find dy/dx at x = 1, we need to take the derivative of y with respe...
Answer:A computer is an electronic device that can perform a wide range of tas...
Answer: b. To calculate the concentration of C18H21NO4 in a 0.00250M oxycodone...
Answer: Oxycodone is a medication used to treat moderate to severe pain. It is...
Answer: The statement that best explains why patients access their electronic ...
Answer: The peripheral nervous system (PNS) is the part of the nervous system ...
Answer: The journal entry to record the receipt of payment from a customer wou...
Answer: Three pros to implementing electronic health records (EMR) in medical ...
Answer: (a) To find the number of students who ate only breakfast in the cafet...
Answer: 1. Educational campaigns: NORSU (Northeastern State University) can co...
Answer: The National Office for Technology Acquisition and Promotion (NOTAP) i...
Let G be a fnite abelian group, and let d be a divisor of GI. Prove that there...
Answer: Relatively Prime Homomorphism Trivial murtaza bohra Let G, G' be finit...
Answer: Suppose that a homomorphism Φ : G → G exists such that G and G' are...

Checkpoint 4

• Exercise PART A. Please match each subject with the most logical form.

 

1 Mi madre: 2. Mis amigos:

 

tengo                              tengo

tienes                             tienes

tiene                              tiene

tenemos                            tenemos

tienen                             tienen

 

3 Yo: 4. Nuestros amigos:

 

tengo                              tengo

tienes                             tienes

tiene                              tiene

tenemos                            tenemos

tienen                             tienen

 

 

 

5 Nuestra clase: 6. Mi novia:

 

tengo                              tengo

tienes                             tienes

tiene                              tiene

tenemos                            tenemos

tienen                             tienen

 

7 Tú: 8. Tu sobrina:

 

tengo                              tengo

tienes                             tienes

tiene                              tiene

tenemos                            tenemos

tienen                             tienen

 

9 Ud.: 10. Uds.:

 

tengo                              tengo

tienes                             tienes

tiene                              tiene

tenemos                            tenemos

tienen                             tienen

 

Answer: Mi madre: tiene Mis amigos: tienen Yo: tengo Nuestros amigos: tienen N...
Answer: There are several core values that a chemical household cleaning compa...
Answer: To run a regression on the given dataset, one would need to use a stat...

Learning Goal: To understand length contraction and timedilation.

An inertial frame of reference is one in which Newton's laws hold.Any frame of reference that moves at a constant speed relative toan inertial frame of reference is also an inertial frame. Theproper length l_0 of an object is defined to be the length of theobject as measured in the object's rest frame. If the length of theobject is measured in any other inertial frame, moving with speed urelative to the object's rest frame (in a direction parallel tol_0), the resulting length l is given by the length contractionequation

l = l_0\sqrt{1-\frac{u^2}{c^2}} ,

where c is the speed of light. Similarly, if two events occur atthe same spatial point in a particular reference frame, and anobserver at rest in this frame measures the time interval betweenthese two events, the time interval so measured is defined to bethe proper time Delta t_0. When the time interval is measured inany other inertial frame, again moving with speed u relative to thefirst frame, the resulting time interval Delta t is given by thetime dilation equation

\Delta t = \frac{\Delta t_0}{\sqrt{1-\frac{u^2}{c^2}}} .

a. Suppose that you measure the length of a spaceship, at restrelative to you, to be 400 \rm m. How long will you measure it tobe if it flies past you at a speed of u = 0.75c?
Express the length l in meters to three significant figures.

b. The spaceship from Part A has a large clock attached to itsside. This clock ran at the same rate as your watch when you werein the same reference frame. How much time Delta t will pass onyour watch as 80 \rm s passes on the clock attached to theship?
Express your answer in seconds to three significant figures.

c. Two spaceships, named A and B, are flying toward each other withrelative speed 0.800c. If the captain of ship A fires a missile,counts 10.0 \rm s on his watch, and then fires a second missile,how much time Delta t will the captain of ship B measure to havepassed between the firing of the two missiles?
Express your answer in seconds to three significant figures.

d. The captain of ship B knows that ship A uses 2-m-long missiles.She measures the length of the first missile, once it has finishedaccelerating, and finds it to be only 0.872 \rm m long. What is thespeed u of the missile, relative to ship B?
Express your answer in meters per second to three significantfigures. Use c = 3 \times 10^8 \; \rm m/s.

Please answer fully... thank you

Answer: a. Using the length contraction equation, l = l_0sqrt(1-u^2/c^2) l = 4...

Write 11 pages with APA style on Effect of Social Networks on Communication Management. Fifteen to twenty five journal articles by different scholars of the world were reviewed by the researcher. The results revealed that social media has an effect on both organizational and public communication management. Social media therefore has an influence on both the company and public communication.

Over the last two decades, social media has become the most used form of communication in the world. Different scholars and researchers of the world attribute this fact to the vast growth and development of technology of the world that has not only expanded public communication but also expanded the organizational communication. internal and external by providing an adequate platform through which communication takes place (Leornardi et.al, 2013). Social media has a direct impact on the organizational strategies. For instance, use of social media directly impacts on the marketing strategies as well as the advertising strategies of the different companies of the world. Different scholars of the world argue that even though social media platform has been criticized for erosion of privacy in the different organizations, it has brought the customers closer to the products and further enhanced productivity of the different companies of the world through enhanced employee-employee communication (Iyengar et.al, 2012).

The discussion surrounding the effects of social media is among the most recent in the field of communication. Having emerged not long ago, social media has revolutionized the communication means (Keyton, 2011). It has further taken part in transformation of the world into a global village. The speed at which information travels from one location to another in this present day has been improved by far. Following the increased interaction between people, organizations and even people and organization, commercial activities such as trade have further grown and expanded (Leornadi et.al, 2014)

Answer: The use of social media has also impacted the way organizations commun...

In 1897 J.J. Thomson discovered the electron. While he could notfind all the separate properties of the electron, he veryaccurately found the charge to mass ratio, Q/m, using a fairlysimple set up, and the same physics we have learned in class.Thomson knew electric and magnetic fields could deflect chargedparticles, and used these concepts to prove that cathode rays wereactually negatively charged particles which were later namedelectrons. There are several set ups which can mimic Thomson’sdiscovery, and you will be working out the details of two of them.Note that you will not be solving for a number for the charge tomass ratio, but rather a formula that could be experimentallytested. Your equations will have a few parameters anexperimentalist could tweak to get results. With the charge to massratio known, 1.758820150*1011 C/kg, find some values for yourparameters that would produce the correct results.

The first experiment involves a vacuum tube with a cathode andanode at one end, and a phosphor plate at the other (the theelectrons strike the phosphor it glows, signifying where theelectron hit). The cathode/anode pair provides an initial voltagessource to accelerate the electrons. The electrons then pass througha small slit in order to focus them into a thin beam. This beanthen passes through two parallel plates (creating an electricfield), and past the midpoint of two Helmholtz coils (two largecurrent carrying coils of radius R, separated by a distance R). Ifthe voltage across the plates and the current across the Helmholtzcoil are tuned just right, there should be no deflection of theelectron beam, and the phosphor plate should simple glow at itscenter. Using the concepts and equations discussed in class, findan expression for the charge to mass ratio, Q/m.

The second experiment is similar to the mass spectrometer wediscussed in class. An electron beam is first accelerated by avoltage source, and then passes into a region of uniform magneticfield. The experiment is performed in a vacuum tube which is filledwith a small amount of phosphor gas so the arc of the electron beancan be seen and measured. Find a new expression for the charge tomass ratio, which this time will also include the radius of the arcthe electron beam would make.
Hint: Your final expressions should not contain the velocity of thebeam, as it cannot be directly measured. Think about work andenergy to find a way to remove velocity from the equations.
Now pretend you are giving your equations to an experimentalist.Provide some voltages, currents, magnetic fields, etc. for each ofyour equations to give no deflection, and hence the proper chargeto mass ratio.

Please show all of your work. After you have derived yourexpressions, briefly explain in a paragraph or two what conceptsyou used and why you chose the formulas used. After J.J. Thompsonfound the charge to mass ratio, he concluded the electron must havean extremely small mass. Based on the charge to mass ratio given(pretend for this part you do not know the charge and mass of anelectron separately), try to give some reasons why Thompson madehis assumptions.

Answer: I can provide a general explanation of the concepts and formulas that ...
Answer: As measured by an observer on Earth, a spacecraft runaway on Earth has...
Answer: (a) The proper length of the spacecraft is 100 meters. (b) The relativ...
Answer: The magnitude of the gravitational attraction between Saturn and Earth...
Answer:As the Earth cooled, the solid crust formed and the oceans were created...
Answer:The force of gravity varies with the distance between the two objects. ...

Using Flutter 3.3.8 by the way it requires me to use const to those who say I need to remove them. Anyway after taking people's suggestions created a widget for the return line.

But now asking for class for the _formkey. What do I type in for the class for the _formkey?

class MyAppState extends State<MyApp>{
@override
Widget build(BuildContext context) {
return Form(
key: _formkey,
child: Column(
children: const [
// Input fields and submit button go here
],
),
);
}
See screenshot and the full code below.   import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';

void main() {

runApp( const MyApp());
}
class MyAppState extends State<MyApp>{
@override
Widget build(BuildContext context) {
return Form(
key: _formkey,
child: Column(
children: const [
// Input fields and submit button go here
],
),
);
}
}



class MyApp extends StatefulWidget {

const MyApp({super.key});

@override

MyAppState createState() => MyAppState();
}

class LoginData {
String username = "";
String password = "";
}

class _MyApp extends State {

LoginData loginData = LoginData();
final GlobalKey<FormState> _formkey = GlobalKey<FormState>();
@override

Widget build(BuildContext inContext) {
return MaterialApp(home: Scaffold(
body : Container(
padding : const EdgeInsets.all(50.0),
child : Form(
key: _formkey,
child: Column(
children: [
TextFormField(
keyboardType: TextInputType.emailAddress,
validator: (String? inValue) {
if (inValue?.isEmpty?? true) {
return "Please enter username";
}
return null;
},
onSaved: (String? inValue) {
loginData.username = inValue!;
},

decoration: const InputDecoration(
hintText: "[email protected]",
labelText: "Username (eMail address)"
),
),

TextFormField(

obscureText: true,

validator: (String? inValue) {
if (inValue == null) {
return "Password cannot be null";
} else if (inValue.length < 10) {
return "Password must be >= 10 in length";
}
return null;
},

onSaved: (String? inValue) {
loginData.password = inValue!;
},

decoration: const InputDecoration(
hintText : "Password",
labelText : "Password"
),
),

ElevatedButton(

child : const Text("Log In!"),

onPressed: (){

if (_formkey.currentState!.validate()){

_formkey.currentState!.save();

if (kDebugMode) {
debugPrint ("Username: ${loginData.username}");
}
if (kDebugMode) {
debugPrint ("Password: ${loginData.password}");
}

}

},

),

]

),

),

),

));

}

}


Answer:In the code you provided, the _formkey is defined as an instance variab...
Answer: Balance the equation: 2Al + 3O2 -> Al2O3 Determine the molar mass: ...
Answer: The balanced equation for the chemical reaction between silver ions (A...
Answer: The torque on the lever can be calculated by using the formula: torque...
Answer: c hromite (FeCr2O4) is an oxide mineral that contains iron, chromium, ...
Answer: In order to find the percentage of chromite in the original sample, we...
Answer: The numbers from 10 to 99 in which the digits are divisible by 3 are t...
Answer: To find the empirical formula for tartaric acid, we can use the data p...
Answer: First, we need to calculate the number of moles of CO2 and H2O produce...
Answer: First, we need to calculate the number of moles of CO2 and H2O produce...
Answer: To determine the empirical formula of the unknown compound, we can use...
Answer: a) A plausible structure for this compound that contains alcohol, ethe...

1) The functional groups in an organic compound can frequently be deduced from its infrared absorption spectrum. A hydrocarbon exhibits no bands above 3000 but gives weak absorption at 2200 cm-1.
Relative absorption intensity: (s)=strong, (m)=medium, (w)=weak.

What functional class(es) does the compound belong to?
List only classes for which evidence is given here. Attach no significance to evidence not cited explicitly.
Do not over-interpret exact absorption band positions. None of your inferences should depend on small differences like 10 to 20 cm-1.

The functional class(es) of this compound is(are).(Enter letters from the table below, in any order, with no spaces or commas.)

a. alkane (List only if no other functional class applies.)
b. alkene h. amine
c. terminal alkyne i. aldehyde or ketone
d. internal alkyne j. carboxylic acid
e. arene k. ester
f. alcohol l. nitrile

g. ether

2) The functional groups in an organic compound can frequently be deduced from its infrared absorption spectrum. A compound containing C, H, and O exhibits strong, broad absorption band at 3430 cm-1, a sharp band at 3300, and a band at 2200 cm-1 (m).
Relative absorption intensity: (s)=strong, (m)=medium, (w)=weak.

What functional class(es) does the compound belong to?
List only classes for which evidence is given here. Attach no significance to evidence not cited explicitly.
Do not over-interpret exact absorption band positions. None of your inferences should depend on small differences like 10 to 20 cm-1.

The functional class(es) of this compound is(are).(Enter letters from the table below, in any order, with no spaces or commas.)

a. alkane (List only if no other functional class applies.)
b. alkene h. amine
c. terminal alkyne i. aldehyde or ketone
d. internal alkyne j. carboxylic acid
e. arene k. ester
f. alcohol l. nitrile

g. ether

3) The functional groups in an organic compound can frequently be deduced from its infrared absorption spectrum. A C6 hydrocarbon exhibits bands between 3000-3100 (w), 2850-2960 (m), and at 1650 cm-1 (w).
Relative absorption intensity: (s)=strong, (m)=medium, (w)=weak.

What functional class(es) does the compound belong to?
List only classes for which evidence is given here. Attach no significance to evidence not cited explicitly.
Do not over-interpret exact absorption band positions. None of your inferences should depend on small differences like 10 to 20 cm-1.

The functional class(es) of this compound is(are).(Enter letters from the table below, in any order, with no spaces or commas.)

a. alkane (List only if no other functional class applies.)
b. alkene h. amine
c. terminal alkyne i. aldehyde or ketone
d. internal alkyne j. carboxylic acid
e. arene k. ester
f. alcohol l. nitrile
g. ether
Answer: The functional class(es) of this compound is(are) : a. alkane The comp...
Answer: a. Employers could easily fire and replace workers. b. Fixing a broken...

Weekly leaderboard

Start filling in the gaps now
Log in