2차 수정
This commit is contained in:
BIN
assets/images/background.png
Normal file
BIN
assets/images/background.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.7 MiB |
BIN
assets/videos/angry_img.mp4
Normal file
BIN
assets/videos/angry_img.mp4
Normal file
Binary file not shown.
BIN
assets/videos/basic_cut.mp4
Normal file
BIN
assets/videos/basic_cut.mp4
Normal file
Binary file not shown.
BIN
assets/videos/basic_img.mp4
Normal file
BIN
assets/videos/basic_img.mp4
Normal file
Binary file not shown.
BIN
assets/videos/thinking_img.mp4
Normal file
BIN
assets/videos/thinking_img.mp4
Normal file
Binary file not shown.
@@ -57,7 +57,7 @@ class _SmartGardenScreenState extends State<SmartGardenScreen> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void _initializeVideo() {
|
void _initializeVideo() {
|
||||||
_videoController = VideoPlayerController.asset('assets/videos/basic.mp4')
|
_videoController = VideoPlayerController.asset('assets/videos/basic_img.mp4')
|
||||||
..initialize().then((_) {
|
..initialize().then((_) {
|
||||||
_videoController.setLooping(true);
|
_videoController.setLooping(true);
|
||||||
_videoController.setVolume(0.0);
|
_videoController.setVolume(0.0);
|
||||||
@@ -140,8 +140,15 @@ class _SmartGardenScreenState extends State<SmartGardenScreen> {
|
|||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
backgroundColor: Colors.white,
|
backgroundColor: Colors.transparent,
|
||||||
body: Row(
|
body: Container(
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
image: DecorationImage(
|
||||||
|
image: AssetImage('assets/images/background.png'),
|
||||||
|
fit: BoxFit.cover,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
// 좌측 캐릭터 영역 (60%)
|
// 좌측 캐릭터 영역 (60%)
|
||||||
Expanded(
|
Expanded(
|
||||||
@@ -355,7 +362,7 @@ class _SmartGardenScreenState extends State<SmartGardenScreen> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
child: const Text(
|
child: const Text(
|
||||||
'푸미 일지',
|
'푸미와 대화하기',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 22,
|
fontSize: 22,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
@@ -602,7 +609,7 @@ class _SmartGardenScreenState extends State<SmartGardenScreen> {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
);
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -648,7 +655,7 @@ class _ChatBubble extends StatelessWidget {
|
|||||||
: Color(0xFFEEEEEE),
|
: Color(0xFFEEEEEE),
|
||||||
borderRadius: BorderRadius.circular(8),
|
borderRadius: BorderRadius.circular(8),
|
||||||
),
|
),
|
||||||
child: Text(
|
child: SelectableText(
|
||||||
message.text,
|
message.text,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 20,
|
fontSize: 20,
|
||||||
|
|||||||
@@ -67,7 +67,13 @@ flutter:
|
|||||||
- assets/videos/know.mp4
|
- assets/videos/know.mp4
|
||||||
- assets/videos/thinking.mp4
|
- assets/videos/thinking.mp4
|
||||||
- assets/videos/thirst.mp4
|
- assets/videos/thirst.mp4
|
||||||
|
|
||||||
|
- assets/videos/basic_img.mp4
|
||||||
|
- assets/videos/angry_img.mp4
|
||||||
|
- assets/videos/thinking_img.mp4
|
||||||
|
|
||||||
- assets/images/profile.png
|
- assets/images/profile.png
|
||||||
|
- assets/images/background.png
|
||||||
|
|
||||||
# To add assets to your application, add an assets section, like this:
|
# To add assets to your application, add an assets section, like this:
|
||||||
# assets:
|
# assets:
|
||||||
|
|||||||
Reference in New Issue
Block a user