v0.0.3timer_snackbar
एक नया Flutter पैकेज जो डेवलपर्स को उनके Flutter ऐप में स्नैकबार में एक सुंदर लाइव टाइमर जोड़ने में मदद करता है।
28लाइक 15430-दिन डाउनलोड140Pub अंक
AndroidiOSWebmacOSWindowsLinux
एक नया Flutter पैकेज जो डेवलपर्स को उनके Flutter ऐप में स्नैकबार में एक सुंदर लाइव टाइमर जोड़ने में मदद करता है।
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
Timer Snackbar package let you to add a beautiful live timer at snackbar to your Flutter app.
dart pub get):dependencies:
timer_snackbar: ^0.0.3
import 'package:timer_snackbar/timer_snackbar.dart';

There are a number of properties that you can modify:
class HomePage extends StatelessWidget {
const HomePage({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text("Timer Snackbar"),
),
body: Center(
child: ElevatedButton(
child: const Padding(
padding: EdgeInsets.all(8.0),
child: Text('Show Snackbar', textScaleFactor: 1.2)),
style: ElevatedButton.styleFrom(
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(8.0))),
onPressed: () => timerSnackbar(
context: context,
contentText: "A snackbar with live timer.",
buttonPrefixWidget: Image.asset(
'assets/undo.png',
width: 17.0,
height: 15.0,
alignment: Alignment.topCenter,
color: Colors.blue[100],
),
afterTimeExecute: () => print("Operation Execute."),
second: 5,
),
),
),
);
}
}
निर्भरता सूची 3 आइटम
{"sdk":"flutter"}{"sdk":"flutter"}^1.0.0उपयोग के अनुसार छाँटें, गतिविधि की तुलना करें और अपनाने से पहले मूल प्रोजेक्ट की आवश्यकताएँ जाँचें।
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗