random_user_agents 0.0.1 random_user_agents: ^0.0.1 copied to clipboard
A flutter package for generating random user agents.
A flutter package for generating random user agents. 随机生成User-Agent.
Getting started #
flutter pub add random_user_agents
Usage #
import 'package:random_user_agents/random_user_agents.dart';
void main() {
final ua = RandomUserAgents.random();
print(ua);
// output: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
}