안녕하세요 IT박사 HO입니다.

오늘은 내가 작성한 코드 혹은 공부를 하기위해서 작성한 코드를 내 블로그에 보기 좋게 

작성하는 방법에 대해서 알아보겠습니다.



제가 사용하는 사이트는 : https://colorscripter.com/

요기입니다.


요렇게 사이트에 코드를 넣고 

원하는 스타일로 별경 후 

HTML로 복사하기를 한다음 해당 코드를 블로그에 첨부하면 끝

결과물은 이렇습니다.


1
2
3
4
5
6
7
8
9
10
11
12
13
14
class MyWidget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return SingleChildScrollView(
      child: Row(
        children: [
          Text('This text is too long to fit within the bounds of the Row.'),
          Text('This text will also overflow.'),
        ],
      ),
    );
  }
}
 
cs