frame_25 0.1.2 frame_25: ^0.1.2 copied to clipboard
A Flutter package to show the mysterious 25th frame in your apps.
import 'package:flutter/material.dart';
import 'package:frame_25/frame_25.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: '25th frame demo',
home: Frame25.random(
frame25: Container(color: Colors.red),
maxDelayInMilliseconds: 3000,
child: ColoredBox(
color: Colors.blue,
child: Center(
child: Text(
"Don't blink!",
style: Theme.of(context).textTheme.headlineMedium,
),
),
),
),
);
}
}