Skip to content

Instantly share code, notes, and snippets.

View kennenfromchina's full-sized avatar
🏠
Working from home

kennen kennenfromchina

🏠
Working from home
View GitHub Profile
@AlexV525
AlexV525 / function_extension.dart
Created December 26, 2020 06:33
De-bounce and throttle
///
/// [Author] Alex (https://github.com/AlexV525)
/// [Date] 2020-12-26 11:51
///
import 'dart:async';
import 'package:flutter/foundation.dart';
/// 防抖和节流
///