sfac_design_flutter 0.0.1
sfac_design_flutter: ^0.0.1 copied to clipboard
스나이퍼팩토리 디자인시스템 플러터 패키지
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:sfac_design_flutter/sfac_design_flutter.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'SFAC Widget',
home: Scaffold(
body: SafeArea(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
SFAccordion(
title: Text('개발 경험이 없는데 수강이 가능한가요?'),
content: Text('''네 가능합니다.
Flutter 모바일 어플리케이션 개발 과정은 코딩, 앱 개발 경험이 없는 분들도 기초부터 차근차근 배우실 수 있도록 구성되어 있습니다.'''),
),
SFButton(
onPressed: () {},
child: const Text('스나이퍼팩토리'),
),
SFTab(
onTap: (p0) {
print(p0);
},
menu: [
Text('SFAC'),
Text('스나이퍼팩토리'),
Text('스팩'),
],
height: 55,
)
],
),
),
),
);
}
}