v0.3.1flutter_circular_text
एक फ्लटर पैकेज जो पाठ को वक्र गोलाकार मार्ग पर रखता है।
177लाइक 2.5 हज़ार30-दिन डाउनलोड160Pub अंक
AndroidiOSWebmacOSWindowsLinux
Flutter गोलाकार पाठ विंडजेट
{"sdk":"flutter"}{"sdk":"flutter"}यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
Add dependency in pubspec.yaml:
dependencies:
flutter_circular_text: "^0.3.1"
Import in your project:
import 'package:flutter_circular_text/circular_text.dart';
CircularText(
children: [
TextItem(
text: Text(
"Chuck Norris".toUpperCase(),
style: TextStyle(
fontSize: 28,
color: Colors.blue,
fontWeight: FontWeight.bold,
),
),
space: 12,
startAngle: -90,
startAngleAlignment: StartAngleAlignment.center,
direction: CircularTextDirection.clockwise,
),
TextItem(
text: Text(
"top 100 Facts".toUpperCase(),
style: TextStyle(
fontSize: 20,
color: Colors.amberAccent,
fontWeight: FontWeight.bold,
),
),
space: 10,
startAngle: 90,
startAngleAlignment: StartAngleAlignment.center,
direction: CircularTextDirection.anticlockwise,
),
],
radius: 125,
position: CircularTextPosition.inside,
backgroundPaint: Paint()..color = Colors.grey.shade200,
)
example project contains single and multi text demos
alt tag
Check Changelog for updates
Reporting issues and requests for new features are always welcome.