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