tjclick / dart-flutter-beginning Goto Github PK
View Code? Open in Web Editor NEWDart (Base Grammer, Class), Flutter (Widget, Stateless, Stateful, Layout, Clone)
Dart (Base Grammer, Class), Flutter (Widget, Stateless, Stateful, Layout, Clone)
void main() {
// 자녀로 일하심(부모의 기름부으심)
GodofSons geonu = GodofSons('"윤건우"','11', '"논현초등학교 학생"');
// 자녀의 열매
geonu.fnWorking();
geonu.fnAge('"Male"');
geonu.personCapacity('"Language, Art, History"');
print('-------------------------------------------------------');
GodofSons seung = GodofSons('"윤승용"','54', '"모비오스 영업팀장"');
seung.fnWorking();
seung.fnAge('"Male"');
seung.personCapacity('"DART, FLUTTER, ORACLE Export"');
print('-------------------------------------------------------');
GodofSons kyung = GodofSons('"이윤경"','49', '"백석대학교 상담대학원생"');
kyung.fnWorking();
kyung.fnAge('"Female"');
kyung.personCapacity('"Spirit, Prayer, Exam"');
}
// 부모 클라스 생성
class GodFather {
// 부모의 연합 변수
final String name;
final String age;
final String working;
// 부모의 연합 생성자
GodFather(this.name, this.age, this.working);
// 부모의 은사 함수
void fnWorking() {
print('우리 가족중에 ${this.name}는 ${this.working} 입니다');
}
// 부모의 은사 함수
void fnAge(String sex) {
print('우리 가족중에 ${this.name}는 ${this.age}살 ${sex}입니다');
}
}
// 자녀 클라스 생성
class GodofSons extends GodFather {
// 자녀의 부모 연합 소통
GodofSons(
String name,
String age,
String working,
// 능력의 전달되는 부모와의 연합 생성
) : super(name, age, working);
// 자녀 은사 함수
void personCapacity(String talent){
print('하나님께서 주신 개인 은사는 ${talent} 입니다');
}
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.