我正试着在Ffltter应用程序上打印表情符号,但我没有看到表情符号,而是看到了这些表情符号的轮廓(分享下面的截图).
I have two files coursedata.dart
and coursedescription.dart
, The coursedata file contains information of courses that I am going to display in the coursedescription file.
这就是我在运行应用程序时看到的情况.以下是我期望的输出结果
西兰花和玉米
☐开放式cheese 菠菜 cogo toast
🥪墨西哥cheese 口袋
孟买 cogo toast
🥪辣味芝士三明治
素食cheese 烤三明治
Paneer Tikka开放式三明治
仓鼠cheese 爆裂披萨三明治
☐Paneer Toofani三明治
绿巨人三明治
这是coursedata.dart
门课程中的一门
Course(
id: '3',
title: 'Cafe Style Sandwiches',
time: '11:00AM - 3:00PM',
imagePath: 'Cafe_Style_Sandwiches3.png',
noOfItems: '10',
items: '''西兰花和玉米
☐开放式cheese 菠菜 cogo toast
🥪墨西哥cheese 口袋
孟买 cogo toast
🥪辣味芝士三明治
素食cheese 烤三明治
Paneer Tikka开放式三明治
仓鼠cheese 爆裂披萨三明治
☐Paneer Toofani三明治
绿巨人三明治''',
imagePaths: [],
language: 'English',
certificateofCompletion: '', //Show Sample
highlights: '',
description:
'Join our Sandwich-Making course to learn the tricks of the trade. From old-school favorites to new and exciting creations, you will become a sandwich pro, making delicious flavors that everyone will love.',
price: 'Rs.2000'),
下面是我的容器,里面有coursedescription.dart
人的名单
Container(
margin: const EdgeInsets.only(right: 15, left: 15),
alignment: Alignment.bottomLeft,
child: Text(course.items),
),
我应该怎么做才能通过这种方式获得表情符号?