flutter_initicon
प्रारंभिक आइकन का उपयोग उपयोगकर्ताओं के नाम के प्रारंभिक अक्षर दिखाने के लिए किया जाता है जिनके पास एवटार या प्रोफ़ाइल छवि नहीं होती है।
35लाइक 2.2 हज़ार30-दिन डाउनलोड150Pub अंक
AndroidiOSWebmacOSWindowsLinux
lrferreiro/flutter_initicon open-source repository details.
{"sdk":"flutter"}{"sdk":"flutter"}^4.0.0यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
Initicon are used to show the initials of the name of users who do not have an avatar or profile image.
| Examples |
|---|
| https://raw.githubusercontent.com/lrferreiro/flutter_initicon/HEAD/screenshot/screenshot-1.png |
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