flutter_initicon
초기 아이콘은 아바타나 프로필 이미지가 없는 사용자의 이름의 첫 글자를 표시하는 데 사용됩니다.
35좋아요 3.4천30일 다운로드150Pub 점수
AndroidiOSWebmacOSWindowsLinux
lrferreiro/flutter_initicon open-source repository details.
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
Initicon are used to show the initials of the name of users who do not have an avatar or profile image.
| Examples |
|---|
flutter_initicon: ^2.0.0
import 'package:flutter_initicon/flutter_initicon.dart';
import 'package:flutter/material.dart';
void main() {
return runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: MyHomePage(title: 'Flutter Demo Home Page'),
);
}
}
class MyHomePage extends StatefulWidget {
MyHomePage({Key key, this.title}) : super(key: key);
final String title;
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(widget.title),
),
body: Center(
child: Initicon(
text: "Full Name",
elevation: 4
),
),
);
}
}
MIT License
의존성 목록 3 개
{"sdk":"flutter"}{"sdk":"flutter"}^4.0.0사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗