Hibok
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

9 lines
245 B

  1. import 'package:flutter/material.dart';
  2. class CommonSnakeBar {
  3. static buildSnakeBar(BuildContext context, String str) {
  4. final snackBar = new SnackBar(content: new Text(str));
  5. Scaffold.of(context).showSnackBar(snackBar);
  6. }
  7. }